Page 1 of 1
is it possible to disable certain bots spawnpoints???
Posted: Fri Dec 05, 2003 10:33 am
by divaid
this would be a really cool feature
Posted: Fri Dec 05, 2003 3:43 pm
by jv_map
Yup simply set the following variable
[spawnpos].disablespawn = 1
Identification of the spawnpos may turn out to be expedient, as the targetname
has to be alliesspawn or axisspawn. You can however set an additional key in the editor (.e.g. $tag) and check all spawnpoints for this key.
Example:
Code: Select all
for(local.i = 1; local.i <= $alliesspawn.size; local.i++)
{
if($alliesspawn[local.i].tag == "tobedisabled")
$alliesspawn[local.i].disablespawn = 1
}
Posted: Sat Dec 06, 2003 8:34 am
by divaid
yes but is it possible to do this automatically when walking in your map. For example you run up the beach, and you finally mke it in the bunkers. then the axis can't spawn here anymore. (by a trigger or something)
Posted: Sat Dec 06, 2003 4:12 pm
by jv_map
Yes you can execute above code at any time you wish. The OpCenter maps uses this kind of spawn point 'moving' as well (when the first bomb is blown, the bots spawn at a higher floor).