Jump to content
Sign in to follow this  
LtShadow

Selecting user actions when not grouped?

Recommended Posts

How would one script or make a trigger to make a unit select an action as the user would? For say, a police vehicle... I wanted to set up a trigger so that the lights/sirens would pop on at a selected waypoint/trigger.

Kind of like the Unit Capture/Unit Play module, except that it recorded EVERYTHING. Actions and selected measures.

Thanks,

Share this post


Link to post
Share on other sites

You'll want to ask that question in the thread for whatever "police vehicle" mod you're using. There are no lights or sirens in ArmA2 so using anything like that is entirely up to whatever mod added them.

There hopefully will be some kind of scripting access to those custom animations in your mod which you can launch from a trigger. Remember though in multiplayer you might run into a lot of locality issues with that kind of thing depending on how it works with whatever mod you're talking about.

Share this post


Link to post
Share on other sites

Alright, thanks for the reply.... I will see what I can do! :3

In other cases, how would I select a user action like getting in a driver and such in Unit Capture? Or recording the proper button clicks and such, thanks

Share this post


Link to post
Share on other sites

Unit Capture is only position data really. There's an optional flag in it for recording weapons fire, but nothing for what you want -- recording the actions of a player. UnitCapture doesn't play with with multiplayer anyway, it's really just a tool for single player scenes like a littlebird landing on a roof or something.

For things like getting in a vehicle there's multiple options. moveInDriver will teleport them there. assignAsDriver combined with orderGetIn will make them walk to the vehicle and get in. Some actions you can use the action command to make them do for things like turning an engine on or off or setting off a satchel.

Share this post


Link to post
Share on other sites

Alright, kylania... Thanks for you're reply. :) I will see what I can do.

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  

×