I need some help from you guys with this one big time.
So the idea is to make the crowern statue on use it would spawn a crownern that will attack what ever the party is fighting. What I need help with is creating the monster file so that the brain is set to attack other monsters. Now I'm not sure if this would need a particular monster to target, and if it does for the example we'll just use "mummy_test".
I think this would be a rather cool way to have other monsters fight along side of you and have it make some sense.
Enemy of my Enemy
Re: Enemy of my Enemy
I don't think attack animation events will hit the party, so you will have to use projectiles if you want a monster to attack other monsters (or you could manually create TileDamagers etc., but those do not work like melee attacks at all). You probably want to mark all outgoing projectiles/damage as being cast by a champion so that experience is awarded to the party if they kill a monster.
As far as writing the brain there is nothing in particular to know except that if you want to use any of sight, alert(), circleStrafeHesitate(), circleStrafeStall(), flee(), follow(), moveTowardsParty(), pursuit(), seek(), startFleeing(), startGuarding(), turnTowardsParty(), wanderIfPartyNotDetected(), you'll have to implement your own versions of them since their behaviour only makes sense if the monster should be attacking the party.
As far as writing the brain there is nothing in particular to know except that if you want to use any of sight, alert(), circleStrafeHesitate(), circleStrafeStall(), flee(), follow(), moveTowardsParty(), pursuit(), seek(), startFleeing(), startGuarding(), turnTowardsParty(), wanderIfPartyNotDetected(), you'll have to implement your own versions of them since their behaviour only makes sense if the monster should be attacking the party.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.