-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add CBA_fnc_allNamespaces * clarify types in function header
- Loading branch information
Showing
4 changed files
with
28 additions
and
3 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
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* ---------------------------------------------------------------------------- | ||
Function: CBA_fnc_allNamespaces | ||
Description: | ||
Reports namespaces created with CBA_fnc_createNamespace. | ||
Parameters: | ||
None | ||
Returns: | ||
_namespaces - all custom namespaces <ARRAY of LOCATION, OBJECT> | ||
Examples: | ||
(begin example) | ||
_namespaces = call CBA_fnc_allNamespaces; | ||
(end) | ||
Author: | ||
commy2 | ||
---------------------------------------------------------------------------- */ | ||
#include "script_component.hpp" | ||
SCRIPT(allNamespaces); | ||
|
||
nearestLocations [DUMMY_POSITION, ["CBA_NamespaceDummy"], 1] + nearestObjects [DUMMY_POSITION, ["CBA_NamespaceDummy"], 1] |
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 |
---|---|---|
|
@@ -11,3 +11,5 @@ | |
#endif | ||
|
||
#include "\x\cba\addons\main\script_macros.hpp" | ||
|
||
#define DUMMY_POSITION [-1000, -1000, 0] |