Jump to content
johnnyboy

Use Prairie Fire Gestures in a script.

Recommended Posts

Here's an example script for using Prairie Fire gestures in a script.  This should be useful for cut-scenes or some advanced mission making.  It also uses the Prairie Fire subtitles function.

 

The sample script:

Spoiler

 //Prairie Fire gesture demonstration
[bob] spawn
{
	params["_unit"];
	{
		sleep 3;
		_unit playActionNow _x;
		_s = toUpper((([_x, 14] call BIS_fnc_trimString) splitString '_') joinString ' ') + "!";
		[name _unit,_s] call VN_fnc_showSubtitle;
	} forEach ["vn_handsignal_regroup","vn_handsignal_attack","vn_handsignal_move_right","vn_handsignal_spotted","vn_handsignal_trap",
				"vn_handsignal_freeze","vn_handsignal_down","vn_handsignal_move_out","vn_handsignal_move_left","vn_handsignal_cover"];
};

 

I may also add in calls to my JBOY Speak script to this, so unit will say in quiet stealth voice the corresponding voice file (i.e., "Attack", "Regroup", "Move out", etc.).  If I get around to doing that I will update this post accordingly.

  • Like 3
  • Thanks 1

Share this post


Link to post
Share on other sites

Nice find Johnson. Now what I’d really like to find is a startled animation or gesture- lemme know if you come across any

  • Like 1

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

×