MovingObject.SetPos X Target.GetPos Xbut it says that only object references and reference variables are allowed in that context, so is there a way to do this?
float myXbegin Gamemode set myX to Target.GetPos X MovingObject.SetPos X myXend
Scn Z13_FireAttack_Targref Z13FireAttackTargetBegin ScriptEffectStart set GetSelf to Z13FireAttackTarget set Z13FireAttackStarted to 1end
SCN Z13FireCasterScriptref Z13FireAttackTargetshort XPosshort YPosshort ZPosshort InPositionfloat roundsfiredshort firingBegin GameMode if Z13FireAttackStarted == 1 if InPosition == 0 Set XPos to Z13FireAttackTarget.GetPos, X Set YPos to Z13FireAttackTarget.GetPos, Y Set ZPos to Z13FireAttackTarget.GetPos, Z + 5000 SetPos, X XPos SetPos, Y YPos SetPos, Z ZPos set InPosition to 1 set firing to 1 endif endif if firing == 1 if roundsfired < 30 cast Z13FireAttackFXS Z13FireAttackTarget set roundsfired to roundsfired + 1 elseif roundsfired >= 30 set firing to 0 set inposition to 0 set xpos to 0 set ypos to 0 set zpos to 0 set roundsfired to 0 set Z13FireAttackStarted to 0 endif endif endifend
set Z13FireAttackTarget to GetSelf