spawns and script origins

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

spawns and script origins

Post 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)?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post 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 :P (the actual spawnpoints never move)
Image
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post 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 :P (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?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

local.sp = spawn info_player_allied
level waittill prespawn
local.sp origin $somescript_origin.origin
// or where ever you want it

8-)

In sicily this is done with vehicle.scr::bindspawnpoint (a scripted bind) but I doubt that's what you need :wink:
Image
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post 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.
Post Reply