Jump to content
Sign in to follow this  
DaveP

Adding sets of conversations for All civvies on map

Recommended Posts

I've been trying to come up with a method of getting info from the locals in an MP mission I've been making for my squad/group (TF87, for the curious, taskforce87.com)

I've had a look at the ArmA 2 in game conversation system, and alternative methods, but none of them strike me as being especially easy to apply en masse such that any of my playable units (in the region of 20) can walk up to any of the civvies on the map and then interrogate/snoop around for intelligence

Any suggestions on what would be the best course of action?

Share this post


Link to post
Share on other sites

Since it's just chatting, it can be handled locally. Thus, shouldn't addaction do the job?

Have one script file that handles the whole conversation with switch case structure. Once player uses an action a variable is passed and the right case is picked. The case then prints texts and adds new actions (questions etc) to the civ.

To add the chat option to all civs you can just do something like:

{
 if (side _x == Civilian) then {
   _x addAction...
 };
} foreach allunits;

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×