Real
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<Real> is a Data Type in the Starcraft II Galaxy Editor's Trigger editor, which stores a numerical data with decimal precision. What this means is, as opposed to an <Integer> which can be any number such as 1, 2, 3, -10, 150. A <Real> can be any number like 0.05, -0.1, 250.13 etc...
Functions
- Ability Charge Info For Unit
- Absolute Value (Real)
- Angle Between Points
- Arccosine
- Arcsine
- Arctangent From Deltas
- Arctangent From Value
- Arithmetic (Real)
- Arithmetic Multiple (Real)
- Camera Object Property
- Camera Pitch Of Player
- Camera Yaw Of Player
- Charge Regen For Unit
- Charge Regen For Unit Ability
- Charge Regen For Unit Behavior
- Charge Used For Unit
- Charge Used For Unit Ability
- Charge Used For Unit Behavior
- Clamp (Real)
- Cliff Level Of Point
- Color Component
- Convert Integer To Real
- Convert Preset To Real
- Convert String To Real
- Cooldown For Unit
- Cooldown For Unit Ability
- Cooldown For Unit Behavior
- Cosine
- Cost Of Ability
- Custom Value Of Unit
- Data Conversation State Custom Value
- Day Length
- Dialog Item Current Value
- Dialog Item Maximum Value
- Dialog Item Minimum Value
- Dialog Transparency
- Difficulty Value (Real)
- Distance Between Points
- Duration Of Ping
- Duration Of Timer
- Elapsed Time Of Timer
- Facing Angle Of Ping
- Facing Angle Of Point
- Facing Angle Of Unit
- Game Charge Regen
- Game Charge Used
- Game Cooldown
- Game Play Timer
- Game Speed Factor
- Height At Point
- Height Of Point
- Height Of Region
- Height Of Unit
- Load Real Value
- Maximum (Real)
- Minimum (Real)
- Modulo (Real)
- Mouse Clicked World Pos X
- Mouse Clicked World Pos Y
- Mouse Clicked World Pos Z
- Ping Scale
- Player Charge Regen
- Player Charge Used
- Player Cooldown
- Player Score Value
- Power
- Random Angle
- Random Percent
- Random Real
- Remaining Time Of Timer
- Sine
- Sound Duration
- Square Root
- Tangent
- Total Experience Of Unit
- Training Queue Time
- Triggering Damage Amount
- Trigger Experience Amount
- Unit Progress (Percent)
- Unit Property
- Unit Type Property
- Value From Data Table (Real)
- Weapon Cooldown
- Width Of Region
- X Of Point
- Y Of Point
Additional Notes
A variable can only be assigned a value that is the same type of the variable. For instance, despite being semi related, you cannot assign an <Integer> to a <Real>, or vice versa. However, numerous conversion functions exist to switch between different variable types.