Missing return line in coding guide lines for SETPVAR (#7106)

This commit is contained in:
Vdauphin 2019-07-17 00:02:12 +02:00 committed by jonpas
parent 06da5c33dd
commit e592b6b975

View File

@ -126,7 +126,8 @@ These macros are allowed but are not enforced.
|`GETVAR(player,MyVarName,false)` | `player getVariable ["MyVarName", false]` | |`GETVAR(player,MyVarName,false)` | `player getVariable ["MyVarName", false]` |
|`GETMVAR(MyVarName,objNull)` | `missionNamespace getVariable ["MyVarName", objNull]` | |`GETMVAR(MyVarName,objNull)` | `missionNamespace getVariable ["MyVarName", objNull]` |
|`GETUVAR(MyVarName,displayNull)` | `uiNamespace getVariable ["MyVarName", displayNull]` | |`GETUVAR(MyVarName,displayNull)` | `uiNamespace getVariable ["MyVarName", displayNull]` |
|`SETVAR(player,MyVarName,127)` | `player setVariable ["MyVarName", 127] SETPVAR(player,MyVarName,127) player setVariable ["MyVarName", 127, true]` | |`SETVAR(player,MyVarName,127)` | `player setVariable ["MyVarName", 127]` |
|`SETPVAR(player,MyVarName,127)` | `player setVariable ["MyVarName", 127, true]` |
|`SETMVAR(MyVarName,player)` | `missionNamespace setVariable ["MyVarName", player]` | |`SETMVAR(MyVarName,player)` | `missionNamespace setVariable ["MyVarName", player]` |
|`SETUVAR(MyVarName,_control)` | `uiNamespace setVariable ["MyVarName", _control]` | |`SETUVAR(MyVarName,_control)` | `uiNamespace setVariable ["MyVarName", _control]` |