User Tools

Site Tools


set_gameplay_property

This is an old revision of the document!


Set Gameplay Property


(WIP)

Signature:

set_gameplay_property(property_name, property_value)
ArgumentDescriptionTypeRequired
property_name StringYes
property_value Yes

The following properties are available to change using this function:

PropertyDescriptionType
movement_control_typeValue must be “relative” or “tank”.String
gravity Number
air_controlDecimal value from 0 to 1 (i.e. 0 percent to 100 percent air control).Number
jump_enabled Boolean
jump_vertical_velocity Number
jump_count Number

Example:

 

Results:

Use the Set Gameplay Property function to…


Editor Node:

set_gameplay_property.1709064177.txt.gz · Last modified: 2024/02/27 12:02 by justin