Task is really simple - I need some event (guard) to spot hero, to shout on him, teleport hero back to door, but NOT to move from his duty.
Spot on sight - easy.
this._chaseRange = 5
Shout and teleport hero - easy.
this._alertCommonEvent = 1
But even with
this._chaseSpeed = 0
Event still moves from his square.
I found only one possible variant - to restrict all areas, where event may go by YEP_RegionRestrictions. But may be there is some conventional way to do this?.. And I don't want ALL events to became restricted for this squares. 🙁
Spot on sight - easy.
this._chaseRange = 5
Shout and teleport hero - easy.
this._alertCommonEvent = 1
But even with
this._chaseSpeed = 0
Event still moves from his square.
I found only one possible variant - to restrict all areas, where event may go by YEP_RegionRestrictions. But may be there is some conventional way to do this?.. And I don't want ALL events to became restricted for this squares. 🙁