Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: nabaro on March 29, 2015, 11:22:24 pm
Title: Spawn trigger multiple
Post by: nabaro on March 29, 2015, 11:22:24 pm
Hi, I just wanted to know what the parameters would be for spawning a trigger_multiple. Something like this except for a trigger multiple. Thanks in advance for your help!
Title: Re: Spawn trigger multiple
Post by: DidUknowiPwn on March 29, 2015, 11:28:50 pm
Same way, in radiant check what the spawnflags you want to set for trigger_multiple then replace both trigger_radius with trigger_multiple and the spawnflags. spawn("") can be anything from the right click 2d view stuff.
Title: Re: Spawn trigger multiple
Post by: nabaro on March 29, 2015, 11:37:07 pm
Same way, in radiant check what the spawnflags you want to set for trigger_multiple then replace both trigger_radius with trigger_multiple and the spawnflags. spawn("") can be anything from the right click 2d view stuff.
No you can't. World at War will give an error if you try.
:o Rlly? can you give an example of how to spawn a trigger_multiple or a trigger_use? Because i Always thought that wasn't possible..
Most are able to be spawned unless it's set to not be able to spawn like trigger_use I'll check out the exe to see what it can do.
So comparing to BO1 the following can be spawned (according to bo1) spawn needs to have a spawnFunction related to the entity type you're trying to create if it doesn't it'll throw that error where it cannot be dynamically spawned.
The ents with spawnfunctions are: trigger_radius script_model script_origin script_vehicle Note: You can still use weapon_ or actor_ as they're independently checked from the rest.
List of "triggers":
Title: Re: Spawn trigger multiple
Post by: nabaro on March 30, 2015, 02:10:18 am
Okay, I think I'll use instead. Thanks to all you guys for your help :)