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 visualDataID from a character. | |
bool | DestroyCarriedResource (string characterId) |
Destroy the resource carried by a character. | |
int | GetPilotMissionCount (string characterId) |
Get the amount of flight missions a pilot has completed. | |
int | GetPilotSuccessfulMissionCount (string characterId) |
Get the amount of successful flight missions a pilot has completed. | |
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. | |
This class is available under a global characters
variable.
|
inline |
Destroy the resource carried by a character.
characterId | visualDataID of the character |
true
if successful, false
otherwise (wrong visualDataID, character isn't carrying anything)
|
inline |
Get the amount of flight missions a pilot has completed.
characterId | visualDataID of the character |
|
inline |
Get the amount of successful flight missions a pilot has completed.
characterId | visualDataID of the character |
|
inline |
Retrieve a voxel object visualDataID from a character.
characterId | visualDataID of the character |
|
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 |