User Tools

Site Tools


set_gameplay_property

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
free_attack_systemPossible values are “default” (player character will attack in the direction they're facing) and “cursor” (player character will attack in the direction of the mouse cursor).String
camera_fovCamera's FOV (field of view) in degrees. Value can be from 1 to 179.Number

Example:

 

Results:

Use the Set Gameplay Property function to…


Editor Node:

set_gameplay_property.txt · Last modified: 2024/04/14 11:26 by justin