VN_fnc_vn_sniper_tree_init

From Savage Game Design Wiki
Revision as of 06:02, 28 April 2022 by Slow (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Ethan Johnson
Argument(s): n/a
Effect(s): unknown

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