Wiki

Case Status
Log In

Wiki

 
Home ยป Action Reference»Convert Actions»Convert Bool To Float
Index
Navigation
Community Wiki

Convert Bool To Float

Converts a Bool value to a Float value.

Bool Variable
The bool variable to convert.
Float Variable
The float variable to store the result.
False Value
Float value if false.
True Value
Float value if true.
Every Frame
Repeat every frame.

 

Hint: This action can be used to apply a button state (Get Button Down) to another variable. E.g., If button down speed = 10 else speed = 0.

Tags:

Last modified on 2/18/2011 11:16 PM by User.

  • RSS Feed