OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Multiplayer => Topic started by: Griff on 10 Feb 2009, 12:50:59
-
Right, so I have this mission I'm working on, my first serious one at that. the civilians, made BLUFOR by grouping them with a high ranking BLUFOR Rifleman, need to complete a few objectives and escape in a helicopter. Doesn't really matter though, this is about the very beginning of the mission
Now, I've placed a bunch of civilians in their "hometown", grouped them with the rifleman and set them to 'Playable'. That all works fine and dandy, but I can't figure out how to remove the excess civilians if they are not controlled by a human player. There's really no need for them, and they'd just get in the way of marvelous tacticlol gameplay (which is what I'm aiming for at least).
I haven't tested it in Multiplayer yet, if that matters.
-
disableAI = false; is what your looking for. :)
-
Sure about that? It doesn't appear to be working, at least not in preview...
-
I'm sure he meant adding...
disabledAI = true;
...to the description.ext (http://community.bistudio.com/wiki/Description.ext#Miscellaneous). ;)
Edit: This will most probably only take effect when tested in MP.
-
Ya in the description.ext its disabledAI , there's also a scripting command. thanks WorldEater.
-
I put it in the descript file, and it worked like a charm when I tried it in MP. Thanks. :)
Can I disable the ingame "Respawn" button somehow too? It doesn't actually do anything since there's nothing to respawn to, but it might be misleading for the players when it's there in the first place.
-
You cannot remove the ingame respawn button.