This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * @Param 1 - ACTION: | |
| * STRING - String containing the action name, possible actions: | |
| * - init | |
| * - EH_KeyUp | |
| * - EH_KeyDown | |
| * - CreateDisplay | |
| * - DestroyDisplay | |
| * @Param 2 - PARAMETERS: | |
| * ARRAY, see: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| foo = { | |
| private["___returnValue___", "___returnedValue___"]; | |
| ___returnedValue___ = _this call { | |
| scopeName "___returnScope___"; | |
| //works only with topMost scope but not lower scopes | |
| if(false) exitWith {false}; | |
| if(true) then | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if(!isDedicated && hasInterface) then | |
| { | |
| addMissionEventHandler ["Draw3D", { | |
| { | |
| if(side _x == playerSide) then | |
| { | |
| _dst = (_x distance player); | |
| _size = 1 - (_dst / 100); | |
| _pos = position _x; | |
| _pos set[2, (_pos select 2) + 2.25]; |
NewerOlder