Core API Reference: Entity General
From Color Infection Wiki
Contents |
= (Assign Entity)
Assign an entity.
Input Parameters:
- Source Entity
- the source entity value
Output Parameters:
- Target
- the target
=? (Condition Assign Entity)
Assign an entity conditionally. If the condition result is true, then source 1 is used, otherwise source 2 is used.
Input Parameters:
- Condition Result
- the condition result
- Source Entity 1
- source 1
- Source Entity 2
- source 2
Output Parameters:
- Target
- the target
Swap Entity Values
Swap two entity values. The parameters shouldn't be direct values. If direct values are passed as parameters, their values will be always not changed.
Input Parameters:
- Entity 1
- one entity value
- Entity 2
- another entity value
Output Parameters:
- (none)
Is a Null Entity
Whether or not a entity is null.
Input Parameters:
- The Entity
- the input entity
Output Parameters:
- Is Null
- true for the input entity is a null entity
Entity -> String
Covert an entity to string. This API is mainly for debug. The result string value may be changed later.
Input Parameters:
- The Entity
- the entity
Output Parameters:
- Result
- the result string
Entity 1 == Entity 2?
Whether or not two entity values represent the same entity.
Input Parameters:
- Entity 1
- one entity value
- Entity 2
- another entity value
Output Parameters:
- Result
- the result