Code:
Teleport
Events
Unit - A unit owned by Player 1 (Red) Finishes casting an ability
Conditions
(Ability being cast) Equal to Teleport (Neutral Hostile)
Actions
Set Teleport[(Player number of (Owner of (Casting unit)))] = (Rally-Point of Fat shop 0002 <gen> as a point)
Unit - Move (Target unit of ability being cast) instantly to Teleport[(Player number of (Owner of (Casting unit)))]
Custom script: call RemoveLocation( udg_Teleport )
Teleport is a point array. So i think it expects an array in the custom script, what do i do?