VN_fnc_vn_sniper_tree_init
Jump to navigation
Jump to search
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
Function called when the sniper tree is initilized at mission start. Will only run once per tree.
Syntax
- Syntax
- [] call VN_fnc_vn_sniper_tree_init;
- Parameters
- _data: Array - (Optional, default
[]
) Data array which contains the tree object - _faction: Number - (Optional, default
0
) Side number for the units in the tree - _traps: Boolean - (Optional, default
FALSE
) Should the tree spawn traps around it - Return value
- Boolean - Function reached the end
Examples
- Example 1
[ [tree_01],0,false] call VN_fnc_sniper_tree_init