Page 1 of 1

spawning script_origins?

Posted: Thu May 27, 2004 4:10 pm
by lizardkid
self-explanitory, a noob question. :lol:

i'm trying to script spawn some script_origins for a botified map, and i can jsut use coord to get the places i want, but the problem is i have no idea the modelname for it. i tried the Entity properties window but it just had classname script_origin... is that what i use????

and i'm guessing the syntax would be....

spawn script_origin "origin" "0 0 0" "$targetname" "blablabla"


right?

thnx in advance.

Posted: Thu May 27, 2004 4:39 pm
by blue60007
maybe try tacking on a key/value:

classname/script_origin

:?

Script_origin

Posted: Thu May 27, 2004 4:41 pm
by tltrude
local.axisspot1 = spawn script_origin targetname "axisspawn"
local.axisspot1.origin = ( 0 0 0 )
local.axisspot1.angle = 0

If you are talking about jv_map bots, the targetname has to be "axisspawn" or whatever it is for allied bots.

This thread should be in the bots forum.

Posted: Thu May 27, 2004 4:49 pm
by lizardkid
thanx tltrude, yes that's what i was trying to do. :D