This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
set_gameplay_property [2024/02/22 00:07] – justin | set_gameplay_property [2024/04/14 11:26] (current) – justin | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Set Gameplay Property====== | ======Set Gameplay Property====== | ||
---- | ---- | ||
- | Coming in v1.1! | ||
- | |||
(WIP) | (WIP) | ||
====Signature: | ====Signature: | ||
<code python> | <code python> | ||
- | function() | + | set_gameplay_property(property_name, |
</ | </ | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | | | | | | | + | |property_name| |[[String]]|Yes| |
+ | |property_value| | |Yes| | ||
+ | |||
+ | The following properties are available to change using this function: | ||
+ | ^Property^Description^Type^ | ||
+ | |movement_control_type|Value must be " | ||
+ | |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 " | ||
+ | |camera_fov|Camera' | ||
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | function(); | + | |
</ | </ | ||
// | // | ||
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Function** function to... | + | Use the **Set Gameplay Property** function to... |
</ | </ | ||
Line 28: | Line 38: | ||
<WRAP half column> | <WRAP half column> | ||
====Editor Node:==== | ====Editor Node:==== | ||
- | {{:function_node.png? | + | {{:set_gameplay_property_node.png? |
</ | </ | ||