|
|
| Line 1: |
Line 1: |
| | == Parameters == | | == Parameters == |
| | + | [[ScriptType:boolean|boolean]] allowCurrent -- If not set, and the current weapon is the best weapon, the next best weapon will be chosen. |
| | + | == Result == |
| | None. | | None. |
| − | == Result ==
| |
| − | [[ScriptType:object|object]]
| |
| | == Supported By == | | == Supported By == |
| − | [[EntityClass:sdSysCallThread|sdSysCallThread]] | + | [[EntityClass:idPlayer|idPlayer]] |
| − | == Comments ==
| |
| − | *Only a limited number of saved traces may be saved at any point in time, care should be taken to properly free these traces once you are finished with them. See [[ScriptEvent:freeTrace|freeTrace]].
| |
| | == Functionality == | | == Functionality == |
| − | Saves the results of the last thread trace that was performed, and returns an object representing this trace.
| + | Selects the player's best available weapon. |
Latest revision as of 17:38, 5 November 2007
Parameters
boolean allowCurrent -- If not set, and the current weapon is the best weapon, the next best weapon will be chosen.
Result
None.
Supported By
idPlayer
Functionality
Selects the player's best available weapon.