VN_fnc_player

From Savage Game Design Wiki
Revision as of 02:03, 5 May 2022 by Slow (talk | contribs) (Created page with "{{Function |v= 1.00 |author=Ethan Johnson |a= |e= |g1= vn_player_functions |d= <pre>Uses getVariable to get the current remoted controlled unit, if the player is not remot...")
(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

Uses getVariable to get the current remoted controlled unit, if the player is not remote controlling a unit then the players unit is returned.
Used to get the current unit the player is controlling.

Syntax

Syntax
[] call VN_fnc_player;
Return value
Object - Player object

Examples

Example 1
call vn_fnc_player