Page 1 of 1
spawns and script origins
Posted: Sun Feb 11, 2007 6:21 pm
by ViPER
I can bind a teleport destination to a script origin - but how do you point a spawn to a script origin (like JVs sicily carrier map)?
Posted: Mon Feb 12, 2007 10:33 am
by jv_map
As far as I know this can only be done by spawning spawnpoints via script, before level waittill prespawn.. afterwards you can move them with the origin command.
Skylimit works a bit differently

(the actual spawnpoints never move)
Posted: Mon Feb 12, 2007 10:52 am
by ViPER
jv_map wrote:As far as I know this can only be done by spawning spawnpoints via script, before level waittill prespawn.. afterwards you can move them with the origin command.
Skylimit works a bit differently

(the actual spawnpoints never move)
HMMM thats what i cant figure out. How is the origin cammand used? How to point the spawn to origin - i looked at your map and script i just can't make the connection from spawn to script_origin. Is it a bind?
Posted: Mon Feb 12, 2007 1:02 pm
by jv_map
local.sp = spawn info_player_allied
level waittill prespawn
local.sp origin $somescript_origin.origin
// or where ever you want it
In sicily this is done with vehicle.scr::bindspawnpoint (a scripted bind) but I doubt that's what you need

Posted: Mon Feb 12, 2007 8:26 pm
by ViPER
The answer is it is very complicated ? lol
I have 16 spawns in 8 scripted trigger teles pointing to 8 moving origins - It works fine but I thought there might be a simpler way.