Skip to content

Commit

Permalink
Missing return line in coding guide lines for SETPVAR (#7106)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vdauphin authored and jonpas committed Jul 16, 2019
1 parent 06da5c3 commit e592b6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/wiki/development/coding-guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ These macros are allowed but are not enforced.
|`GETVAR(player,MyVarName,false)` | `player getVariable ["MyVarName", false]` |
|`GETMVAR(MyVarName,objNull)` | `missionNamespace getVariable ["MyVarName", objNull]` |
|`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]` |
|`SETUVAR(MyVarName,_control)` | `uiNamespace setVariable ["MyVarName", _control]` |
Expand Down

0 comments on commit e592b6b

Please sign in to comment.