OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: dmakatra on 23 Jan 2003, 15:46:56
-
Hi! Can some1 help me with this 1?
I donÂ't know if this is best to do with a script, but since I donÂ't know anything about scripts IÂ'll ask here instead of the scripting board:
YouÂ're the leader of a group, and when 3 or more west soldiers enter one of three areas, I want the explosive expert in your group to say:
-Code red at Alpha
Or
-Code red at Bravo
Or
-Code red at Charlie.
When thereÂ's only one or zero soldiers left I want him to say the same thing but with Code green instead. Is there a way in the editor or is it better with scripting in this one? And the most imporatant Q: How do u do it? Plz help.
Thx in advance.
-
Just create a trigger and in the onactivation box select talk and then the .ogg with what you want him to say. should be it just make three differnet triggers with three differnet oggs. Also how many soldiers are there of the opposing team. and why does the xplosive xpert say Code red?
-
IÂ'm not done with the mission, so I donÂ't know how many baddies there will be.
He sais code red cause itÂ's short and IÂ'm useless on recording voices, I havenÂ't got my dark voice yet.