User Tools

Site Tools


set_gameplay_property

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
set_gameplay_property [2024/02/22 11:46] justinset_gameplay_property [2024/04/14 11:26] (current) justin
Line 11: Line 11:
 |property_name| |[[String]]|Yes| |property_name| |[[String]]|Yes|
 |property_value| | |Yes| |property_value| | |Yes|
 +
 +The following properties are available to change using this function:
 +^Property^Description^Type^
 +|movement_control_type|Value must be "relative" or "tank".|[[String]]|
 +|gravity| |[[Number]]|
 +|air_control|Decimal 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_system|Possible 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_fov|Camera's FOV (field of view) in degrees. Value can be from 1 to 179.|[[Number]]|
  
 ====Example:==== ====Example:====
set_gameplay_property.1708631188.txt.gz · Last modified: 2024/02/22 11:46 by justin