VN_fnc_player

From Savage Game Design Wiki
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