Difference between revisions of "Player keyword"
From Dragon Age Toolset Wiki
m (Fixing category) |
m (Updating links) |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
== Literals == | == Literals == | ||
− | There is no literal for the player type. | + | There is no [[Scripting terminology#literal|literal]] for the player type. |
== Conversion == | == Conversion == | ||
Line 41: | Line 41: | ||
[[:Category:Player functions|Player functions]] | [[:Category:Player functions|Player functions]] | ||
− | [[Category: | + | [[Category:Keywords]] |
Latest revision as of 12:23, 15 August 2011
The player type represents a player slot.
Literals
There is no literal for the player type.
Conversion
There is no explicit or implicit conversion to or from the player type.
Persistence
The following functions allow a player to exist outside of the scope of the current script by storing it on an object:
The following functions allow a player which exist outside of the scope of the current script to be used in the current script by retrieving it from an object:
Remarks
The player type is an artefact from or a placeholder for a multi-player version of Dragon Age. With the exception of the two functions mentioned above all reference to the player type in script.ldf have been replaced by the object type.
Examples
void main() { // uninitialised player pDefault; // initialised using a function player pFunction = GetLocalPlayer(GetModule(), "current_player"); }