Battlefield Memorial - Theseus-Aegis/MissionTemplate GitHub Wiki
This page will explain the usage of the Battlefield Memorial function.
/*
* Author: Mike
* Creates a battlefield memorial with chosen helmet and weapon. Redone with global commands as BI didn't bother.
* Position can be an object or a position array (posATL)
* Helmet and Weapon should be classnames as strings.
*
* Call on the server only.
*
* Arguments
* 0: Position <OBJECT / ARRAY>
* 1: Direction <NUMBER>
* 2: Helmet <STRING>
* 3: Weapon <STRING>
*
* Return Value:
* None
*
* Example:
* [] call MFUNC(battlefieldMemorial)
*/
This function will create a Battlefield memorial (Boots, Gun with helmet on top). It requires a position, either an object or positional array, a direction and 2 classnames. (For no helmet you could use ""
). This function should always be used over the Editor attributes for the same objects as they are not set globally and will fail.
Call on the server only
Examples:
[My_Invisible_Helipad, 340, "H_HelmetB_light", "arifle_MX_F"] call MFUNC(battlefieldMemorial);
[[2020.554, 2032.323, 1.232], 20, "H_HelmetB_light", "arifle_MX_F"] call MFUNC(battlefieldMemorial);