<Effect name="Move relative to itself">
<Param name="SrcObject" dispName="$$22295$$Source Units" varType="unit">default</Param>
<Param name="moo" dispName="metres x" varType="stringid">0</Param>
<Param name="moo2" dispName="metres z" varType="stringid">0</Param>
<Param name="EventID" dispName="$$22362$$Trigger" varType="event">-1</Param>
<Param name="AttackMove" dispName="$$18986$$Attack Move" varType="bool">false</Param>
<Command>trQuestVarSet("fhweaohpgpagowhwa", xsGetContextPlayer());</Command>
<Command>xsSetContextPlayer(0);</Command>
<Command>kbLookAtAllUnitsOnMap();</Command>
<Command>trUnitSelectClear();</Command>
<Command loop="" loopParm="SrcObject">trUnitSelect("%SrcObject%");</Command>
<Command>trQuestVarSet("zmoo1", xsVectorGetX(kbGetBlockPosition(""+1*%SrcObject%)));</Command>
<Command>trQuestVarSet("zmoo2", xsVectorGetZ(kbGetBlockPosition(""+1*%SrcObject%)));</Command>
<Command>trUnitMoveToPoint(%moo% + trQuestVarGet("zmoo1"),0,%moo2% + trQuestVarGet("zmoo2"), %EventID%, %AttackMove%);</Command>
<Command>xsSetContextPlayer(trQuestVarGet("fhweaohpgpagowhwa"));</Command>
</Effect>
Youtube Channel
Skyrim... the greatest game ever... without considering Age of Mythology, of course!
Ctrl...Alt...Q...
and Brisingr-know these three things and your task here is accomplished...[This message has been edited by nHawk (edited 10-24-2017 @ 10:36 AM).]