Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: daedra descent on May 26, 2014, 05:04:36 am
Title: zone spawner getting script
Post by: daedra descent on May 26, 2014, 05:04:36 am
Just want to check to see if anyone could find a problem with this script. "Self" is a zone.
Title: Re: generic zone spawner getting script
Post by: DuaLVII on May 26, 2014, 07:12:15 am
Your probably getting an error because you need to have some kind of blank return in the function like if the for flow control returns nothing it will shoot itself in the head. Not saying it will happen, but on load it runs itself through those scenario's.
Just need to pop it in there for the scripts convenience.
If not that, Is it an error your receiving or text not showing or is it always returning 0?
Title: Re: generic zone spawner getting script
Post by: daedra descent on May 30, 2014, 12:24:04 pm
Your probably getting an error because you need to have some kind of blank return in the function like if the for flow control returns nothing it will shoot itself in the head. Not saying it will happen, but on load it runs itself through those scenario's.
Just need to pop it in there for the scripts convenience.
If not that, Is it an error your receiving or text not showing or is it always returning 0?
Nah, the only issue that i get with it is that one or two AI spawn in other zones for whatever reason at the start and i have no real idea why.
Guess i should post the entire code.
Title: Re: generic zone spawner getting script
Post by: MakeCents on May 30, 2014, 05:19:55 pm