武装突袭 Wiki
Advertisement
  

Click on the images for descriptions

Introduced in

Game:
Arma 2: Operation Arrowhead
Version:
1.00

Description

Description:
/*
	File: fn_UnitCaptureFiring.sqf

	Description:
	Records weapon fire data of input unit over a specified period of time.
	Pressing the ESC key, the duration ending, or the unit dying ends the
	recording.

	Parameters:
	Unit			- Unit to capture weapon fire data from
	Duration		- Duration to capture for
	OPT:StartTime	- OPTIONAL: Starting time offset for the frame time

	Copies to clipboard:
	Array in format [FrameTime, WeaponType, Target(If AI-controlled)] for each frame
	
	Input Example:
	a) [BIS_Vehicle, 50, 10] spawn BIS_fnc_UnitCaptureFiring;
			Which would capture data from a unit named BIS_Vehicle, and would capture for 50 seconds.
			Frame time offset would be 10 seconds.
	
	Output Example:
	a) [[2.135,"GAU8","<NULL-object>"],[2.157,"GAU8","<NULL-object>"]]
			The above output has 2 frames.

	b) [[2.135,"GAU8","<NULL-object>"]]
			The above output has 1 frame.
*/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Example 1:
Example needed
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section

Advertisement