AbstractTriggerVolumenow hasenable,disableandtogglefunctions. Disabled volumes are marked as not monitoring and not monitorable.AbstractTriggerVolumenow hastrigger_flagsbitflags property. Right now only supports “START_DISABLED”.AbstractTriggerVolumenow hashandle_continued_contact()function. Has a default nop implementation so not every trigger needs to implement it. PlayerController calls this function every frame for each trigger volume its in contact with.- Target strings for entites now support a function method (e.g.
mytarget.disableto calldisable()on that entity).TBHelpergainedget_target_string_group_name,get_target_string_method_name,validate_target_is_callableandvalidate_targets_are_callableto help with this- The previous default method
do_trigger()has been replaced withon_default_trigger()and is called when a target string doesn’t specify a specific method.
TBHelpernow hasperform_target_trigger()to generalise the logic for handling triggers on targets. Also hasperform_targets_trigger()for the array version- Added
trigger_pushbrush entity. Applies a force either each frame or on contact to the player, either in a set direction or towards a target node. TBHelpernow hasload_assetandload_asset_from_key_if_presentfor loading assetstrigger_repeatablenow has atargetnameso it can be enabled/disabled- Added
env_soundpoint entity. Basically a wrapper aroundAudioStreamPlayer3D, gets its sound as a path param relative tores://assets/sounds - Added
logic_relaypoint entity. Behaves basically like goldsrc’s multi_manager without the delay support (yet). Triggers up to 10 other entities from a single trigger. Can also be enabled/disabled/toggled. - Made
test_interactableswhich so far is a small box with the new entities in it.