REDNODE / GAME API

NPCCommand

classnative name AICommandnative

extends IScriptable › ISerializable

Extended by 19 types

AIAssignRestrictMovementAreaCommand AIAssignRoleCommand AIBackgroundCombatCommand AIBaseMountCommand AIBaseUseWorkspotCommand AICombatRelatedCommand AIEquipCommand AIFollowerCommand AIJoinTargetsSquad AIMoveCommand AIPlayMountedSlotWorkspotCommand AIRunAwayFromPlayerCommand AIScanTargetCommand AIStopCoverCommand AISwitchToPrimaryWeaponCommand AISwitchToSecondaryWeaponCommand AITeleportCommand AIUnequipCommand AIVehicleCommand

Properties 4

NameTypeFlags
categoryCNameoverridingpersistent
idUint32overriding
questBlockIdUint64overridingpersistent
stateAICommandStateoverriding

Methods 3

native func Copy() -> ref<NPCCommand>
native func GetCategory() -> CName
native func SetCategory(value: CName)