BIS fnc moduleFriendlyFire: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
No edit summary
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>//scriptName "Functions\systems\fn_modulefriendlyfire.sqf";
| <pre>/*******************************************************************************
/*******************************************************************************
Version: 2.0
Version: 0.1
Name: Friendly Fire
Name: Friendly Fire
Author: Zozo
DESCRIPTION: www.
DESCRIPTION: Handles the friendly fire. Use either the module interface in the editor, or call individual functions.
PARAMETERS: 1) function called - string, list of functions:
PARAMETERS: 1) function called - string, list of functions:
- Init
- Init
- Destroy
- Destroy
2) parameter for the function
- AddUnits
For more informations see https://
- RemoveUnits
- ChangePriority
- ListActiveUnit
2) parameter for the function
RETURNED VALUE: depends on the function called
RETURNED VALUE: depends on the function called
 
TODO:         + AddUnitToFriendlyFire
+ RemoveUnitFromFriendlyFire - will need to change data structure - must remember eventhandlers :-(
+ CheckRenegadeStatus
- StopChecking the status (pause?)
- RemoveEventhandlers on Destroy - will need to change data structure - must remember eventhandlers :-(
+ change calling of execVM "fn_moduleFriendlyFire.sqf"
- Display a warning message if player will shoot a civilian
- handle deleted units (clear array from NULL-OBJECT)
*******************************************************************************/
*******************************************************************************/


//Functions interface
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 12:37, 7 March 2018


Hover & click on the images for description

Description

Description:
/*******************************************************************************
	Version:			2.0
	Name:				Friendly Fire
	Author:				Zozo
	DESCRIPTION:	Handles the friendly fire. Use either the module interface in the editor, or call individual functions.
	PARAMETERS:		1) function called - string, list of functions:
				- Init
				- Destroy
				- AddUnits
				- RemoveUnits
				- ChangePriority
				- ListActiveUnit
				2) parameter for the function
	RETURNED VALUE:	depends on the function called

*******************************************************************************/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section