武装突袭3

武装突袭3

Zombies and Demons
CaptainMittens 2015 年 10 月 1 日 下午 5:25
Activate Spawner via Script?
Is there any way to manually trigger a spawner? I want hoards to spawn after specific events. I used to be able to move spawners around, but it doesn't seem to work anymore. I used to keep my hoard spawners off in the ocean, and then use setPos to move them within activation range on players, but they don't seem to work anymore after moving.

It would be great if you could have it so that synchronizing a trigger to a spawner would cause it to activate / be created. If not, I'd love some sort of variable, like

zone1 setVariable ["zoneActivated",true];

or whatever, just some way to manually trigger spawners.
< >
正在显示第 1 - 1 条,共 1 条留言
CaptainMittens 2015 年 10 月 16 日 下午 5:51 
I'm familiar with the nuances of localization. Certain things get propagated, others occur locally only. Spawning units for example gets broadcasted automatically, so you need to make sure only the server performs that task.

You're responses don't really solve the problem though. I'm well aware of how to create units using a script. I posted my "zombience.sqf" script here already which will randomly spawn zombies around players. That's not what I want, I would like a way to bypass the "activated by" field and simply enable or disable the zombie spawner modules with a variable.
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50