Ground of Aces Scripting API
|
This class is available under a global characters
variable.
More...
Public Member Functions | |
uint | GetVoxelObjectId (string characterId) |
Retrieve a voxel object ID from a character. More... | |
bool | DestroyCarriedResource (string characterId) |
Destroy the resource carried by a character. More... | |
int | GetPilotMissionCount (string characterId) |
Get the amount of flight missions a pilot has completed More... | |
int | GetPilotSuccessfulMissionCount (string characterId) |
Get the amount of successful flight missions a pilot has completed More... | |
float | GetMorale (string characterId, MoraleCategory category) |
Get specific morale value for a character More... | |
void | SetMorale (MoraleCategory category, float value) |
Set specific morale value for every character More... | |
void | SetMorale (string characterId, MoraleCategory category, float value) |
Set specific morale value for a specific character More... | |
void | ModifyMorale (MoraleCategory category, float delta) |
Modify morale of every character on the base. More... | |
void | ModifyMorale (string characterId, MoraleCategory category, float delta) |
Modify morale of a single character. More... | |
bool | TriggerEffect (string characterId, MoraleCategory category) |
Trigger a breaking point effect associated with particular morale category. More... | |
void | SetTemporaryMoraleState (string characterId, CharacterMoraleStateFlag moraleStateFlag, int duration) |
Set a morale state for a temporary amount of time on a single character on the base More... | |
This class is available under a global characters
variable.
|
inline |
Destroy the resource carried by a character.
characterId | ID of the character |
true
if successful, false
otherwise (wrong ID, character isn't carrying anything)
|
inline |
|
inline |
Get the amount of flight missions a pilot has completed
characterId | ID of the character |
|
inline |
Get the amount of successful flight missions a pilot has completed
characterId | ID of the character |
|
inline |
Retrieve a voxel object ID from a character.
characterId | ID of the character |
|
inline |
Modify morale of every character on the base.
category | Morale category |
delta | Value to modify by |
|
inline |
Modify morale of a single character.
characterId | ID of the character |
category | Morale category |
delta | Value to modify by |
|
inline |
Set specific morale value for every character
category | Morale category |
value | Value of morale [-100 / 100] |
|
inline |
Set specific morale value for a specific character
characterId | ID of the character |
category | Morale category |
value | Value of morale [-100 / 100] |
|
inline |
Set a morale state for a temporary amount of time on a single character on the base
characterId | Id of character |
moraleStateFlag | Morale state flag |
duration | Duration of morale state |
|
inline |
Trigger a breaking point effect associated with particular morale category.
characterId | ID of the character |
category | Morale category associated with the effect |
true
if the effect was triggered successfully, false
otherwise