Preventing an Area transition while in combat
Terrorble
Member Posts: 183
How do I prevent a player from going thru a particular Area Transition while in combat?
I could do it using a regular trigger and an OnEnter script, but how would you do it with an Area Transition?
I could do it using a regular trigger and an OnEnter script, but how would you do it with an Area Transition?
0
Comments
int GetIsInCombat(object oCreature=OBJECT_SELF)
That is the function but you will need to write a script for the onenter of the trigger so it stops the porting.