Skip to content
VN_fnc_vn_sniper_tree_init

VN_fnc_vn_sniper_tree_init

Function called when the sniper tree is initilized at mission start. Will only run once per tree.

Syntax

[] call VN_fnc_vn_sniper_tree_init;

Parameters

ParameterTypeDefaultDescription
_data Array[] Data array which contains the tree object
_faction Number0 Side number for the units in the tree
_traps BooleanFALSE Should the tree spawn traps around it

Return value

Boolean - Function reached the end

Examples

[ [tree_01],0,false] call VN_fnc_sniper_tree_init

Documented by Ethan Johnson.