update to 4.26 v1.4
The
1.4 update is here, bringing 3 new nodes, improvements to the TraceTest task, and out-of-the box compilation for UE5 Early Access!
- The SetValue task sets a key in the worldstate to the specified value during planning. - Supports all default key types: - Bool - Int - Float - Enum - NativeEnum - String - Name - Vector - Rotator - Object - Class(изменено)
- The ClearValue task clears a key in the worldstate during planning. Supports all key types.(изменено)
- The GuardValue decorator sets a key in the worldstate on activation during planning, and resets it back to the original value on deactivation during planning (or if aborted during execution). - Supports the same key types as SetValue. - Can be customized to only set or only reset the value. - Can help keep a value set while executing a certain task but unset otherwise. - Can also be used to let subnetwork reuse temporary variables in the blackboard. To do this, place a GuardValue decorator (with "set value on plan enter" disabled) on the SubNetwork node. When the subnetwork exits, the key will be reset to the value it had before entering the subnetwork, so the subnetwork is free to use it internally.(изменено)
- The TraceTest task now has settings for visualizing the traces in the viewport just like the Blueprint functions Line/Box/Sphere/CapsuleTraceByChannel.(изменено)
- The plugin now compiles for UE5 Early Access out of the box. Just copy the HTN folder from UE_4.2x\Engine\Plugins\Marketplace\HTN to /[Project Root]/Plugins/ and recompile the plugin.