-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4514ac7
commit 972aa17
Showing
5 changed files
with
43 additions
and
21 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
#include "..\..\component.hpp" | ||
|
||
_this params [ | ||
["_trigger", objNull] | ||
]; | ||
params ["_area"]; | ||
|
||
if (isNull _trigger) exitWith { | ||
ERROR("got NULL instead of a trigger as parameter"); | ||
}; | ||
GVAR(POPULATION_ZONES) pushBack _area; | ||
|
||
GVAR(POPULATION_ZONES) pushBack _trigger; | ||
|
||
INFO_2("added population zone %1 at %2", triggerArea _trigger, getPos _trigger); | ||
INFO_1("added population zone %1", _area); |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#include "..\..\component.hpp" | ||
|
||
ASSERT_SERVER(""); | ||
ASSERT_SERVER("radio channel must be created on server"); | ||
|
||
radioChannelCreate [[0.96, 0.34, 0.13, 0.8], "grad-civs info", "%CHANNEL_LABEL:", [], true]; |