Trigger changing respawn position
Like: I create a trigger and attach a script that basically says:
units that enter the trigger have 'the center of the trigger box' as new respawn location.
is that possible? Can someone give me an idea on how to extend this skeleton?
function SetRespawnPositionCenterOf(trigger) local unit = trigger.activator end
Edit: If this is the correct function, how to I get the vector vOrigin to the correct position?
void SetRespawnPosition(Vector vOrigin)