Posted by: plainab
« on: July 01, 2008, 09:10:07 PM »Which action must be used if I want that mage to appear instantly in front of PC ? (it works but the mage is created in the corner of map and looks like staying there is the only thing he is planning to do this evening :s)I think you mean SetInterrupt rather than NoInterrupt. Here is an example usage from the IESDP:
I tried ActionOverride("Zalanr",MoveToObjectNoInterrupt([PC])) but it seems the "NoInterrupt" is used for something else (I did not see any difference between MoveToObject and that action from above)
Code: [Select]
86 SetInterrupt(I:State*Boolean)
This action sets whether a creature can be interrupted while carrying out script actions.
IF
See(Player2)
!Range(Player2,4)
THEN
RESPONSE #100
SetInterrupt(FALSE)
MoveToObject("Player2")
SetInterrupt (TRUE)
END
You could try in your response section:Code: [Select]
ActionOverride("Zalanr",SetInterrupt(FALSE))
ActionOverride("Zalanr",MoveToObject([PC]))
ActionOverride("Zalanr",SetInterrupt(TRUE))
But, i don't think that there is anything that will create the creature directly in-front of the pc. However, you could create an invisible creature that once they have moved to the pc will become visible via some effect...