aiutility::keepclaimnode()
aiutility helper: keep claim node. BO3's decompiled scripts carry no docs for this one: the description is ours, from its name and use.
Signature
aiutility::keepclaimnode(behaviortreeentity)
Needs #using the script that defines it (scripts/shared/ai/archetype_utility.gsc).
Parameters
| Name |
|---|
| behaviortreeentity |
The decompiled scripts don't keep default values, so some of these may be optional: check the real uses below.
Real uses in BO3's scripts
Called 22 times in the decompiled scripts. A few, zombies first:
- scripts/shared/ai/archetype_cover_utility.gsc, line 68
keepclaimnode(behaviortreeentity); - scripts/shared/ai/archetype_human_cover.gsc, line 417
aiutility::keepclaimnode(behaviortreeentity); - scripts/shared/ai/archetype_human_exposed.gsc, line 167
aiutility::keepclaimnode(behaviortreeentity); - scripts/shared/ai/archetype_robot.gsc, line 1350
aiutility::keepclaimnode(entity); - scripts/shared/ai/archetype_utility.gsc, line 53
behaviortreenetworkutility::registerbehaviortreescriptapi("keepClaimNode", &keepclaimnode);
More in aiutility::
- aiutility::registerutilityblackboardattributes()Registers utility blackboard attributes.
- aiutility::addaioverridedamagecallback()Adds AI override damage callback.
- aiutility::releaseclaimnode()aiutility helper: release claim node.
- aiutility::cleanupcovermode()aiutility helper: cleanup cover mode.
New to GSC?
Start with the basics, or paste a compile error to get the fix.
Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).