-
Notifications
You must be signed in to change notification settings - Fork 2
Conditions
abc013 edited this page Aug 27, 2022
·
4 revisions
Conditions are parameters that are changed dynamically ingame depending on the gametype or the actors themselves. They can be combined with ORs (||) or ANDs (&&), to achieve more complex systems. Every condition can be negated by putting an ! in front of it.
| Name | Description |
|---|---|
True |
Always true. |
False |
Always false. |
| Name | Description |
|---|---|
Enemies |
There are enemies on the map. |
MissionKillEnemies |
The mission is to kill all enemies. |
MissionFindExit |
The mission is to find the exit. |
MissionWaves |
The mission is to survive waves. |
IsMenu |
Determines whether the current map is a menu. |
| Name | Description |
|---|---|
IsFriendly |
Actor is in the same team as the player. |
IsNeutral |
Actor is neutral. |
IsEnemy |
Actor is a enemy. |
IsPlayer |
Actor is the player. |
IsBot |
Actor is a bot. |
IsIdling |
Actor is idling. |
StartsMoving |
Actor starts moving. Not supported. |
IsMoving |
Actor is moving. |
EndsMoving |
Actor ends moving. Not supported. |
StartsAttacking |
Actor starts attacking. This is condition is only true during the Weapon's PreparationDelay. |
IsAttacking |
Actor is attacking. |
EndsAttacking |
Actor stops attacking. This is condition is only true during the Weapon's CooldownDelay. |
IsSpawning |
Actor is spawning. |
IsDespawning |
Actor is despawning. |
IsAlive |
Actor is alive. (if the Actor has no health, this condition is always true.) |
IsDamaged |
Actor is damaged. (if the Actor has no health, this condition is always false.) |
SlightDamage |
Actor is slightly damaged: HP are below 75% and over 25%. (if the Actor has no health, this condition is always false.) |
HeavyDamage |
Actor is heavily damaged: HP are below 25%. (if the Actor has no health, this condition is always false.) |
