Hi
How do you make turn based combat.
I am trying to make an NPC that fires back at you when you fire at him, but when you click the fire verb you can not press it again untill the NPC has fired back at you.
Thanks
Mousie
ID:267826
![]() Nov 1 2003, 2:55 am
|
|
After you have fired at an NPC, remove the 'fire' verb from the attacker. You should also set a variable to know what mob you attacked, so that you can regain the verb after that mob has counterattacked. Once the enemy has done so, then add the 'fire' verb to the original attacker once more.