spawning script_origins?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

spawning script_origins?

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

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
blue60007
General
Posts: 1247
Joined: Sun Mar 07, 2004 11:44 pm

Post by blue60007 »

maybe try tacking on a key/value:

classname/script_origin

:?
Image
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Script_origin

Post 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.
Last edited by tltrude on Thu May 27, 2004 4:49 pm, edited 1 time in total.
Tom Trude,

Image
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

thanx tltrude, yes that's what i was trying to do. :D
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Post Reply