MCPcopy Create free account
hub / github.com/MergHQ/CRYENGINE / CScriptBind_AI

Method CScriptBind_AI

Code/CryEngine/CryAISystem/ScriptBind_AI.cpp:404–1264  ·  view source on GitHub ↗

==================================================================== CScriptBind_AI ====================================================================

Source from the content-addressed store, hash-verified

402// CScriptBind_AI
403//====================================================================
404CScriptBind_AI::CScriptBind_AI() :
405 m_pCurrentGoalPipe(0),
406 m_IsGroupOpen(false)
407{
408 Init(gEnv->pSystem->GetIScriptSystem(), gEnv->pSystem);
409
410 SetGlobalName("AI");
411
412#undef SCRIPT_REG_CLASSNAME
413#define SCRIPT_REG_CLASSNAME &CScriptBind_AI::
414
415 SCRIPT_REG_FUNC(Warning);
416 SCRIPT_REG_FUNC(Error);
417 SCRIPT_REG_FUNC(LogProgress);
418 SCRIPT_REG_FUNC(LogEvent);
419 SCRIPT_REG_FUNC(LogComment);
420 SCRIPT_REG_FUNC(RecComment);
421
422 SCRIPT_REG_FUNC(ResetParameters);
423 SCRIPT_REG_FUNC(ChangeParameter);
424 SCRIPT_REG_FUNC(GetParameter);
425 SCRIPT_REG_FUNC(IsEnabled);
426 // SCRIPT_REG_FUNC(AddSmartObjectCondition);
427 SCRIPT_REG_FUNC(ChangeMovementAbility);
428 SCRIPT_REG_FUNC(ExecuteAction);
429 SCRIPT_REG_FUNC(AbortAction);
430 SCRIPT_REG_FUNC(SetSmartObjectState);
431 SCRIPT_REG_FUNC(ModifySmartObjectStates);
432 SCRIPT_REG_FUNC(SmartObjectEvent);
433 SCRIPT_REG_FUNC(GetLastUsedSmartObject);
434 SCRIPT_REG_FUNC(CreateGoalPipe);
435 SCRIPT_REG_FUNC(BeginGoalPipe);
436 SCRIPT_REG_FUNC(EndGoalPipe);
437 SCRIPT_REG_FUNC(BeginGroup);
438 SCRIPT_REG_FUNC(EndGroup);
439 SCRIPT_REG_FUNC(PushGoal);
440 SCRIPT_REG_FUNC(PushLabel);
441 SCRIPT_REG_FUNC(IsGoalPipe);
442 SCRIPT_REG_FUNC(Signal);
443 SCRIPT_REG_TEMPLFUNC(NotifyGroup, "groupID, senderID, notification");
444 SCRIPT_REG_FUNC(FreeSignal);
445 SCRIPT_REG_FUNC(SetIgnorant);
446 SCRIPT_REG_TEMPLFUNC(BreakEvent, "entityID, pos, radius");
447 SCRIPT_REG_TEMPLFUNC(AddCoverEntity, "entityID");
448 SCRIPT_REG_TEMPLFUNC(RemoveCoverEntity, "entityID");
449 SCRIPT_REG_FUNC(SetAssesmentMultiplier);
450 SCRIPT_REG_FUNC(SetFactionThreatMultiplier);
451 SCRIPT_REG_FUNC(GetGroupCount);
452 SCRIPT_REG_FUNC(GetGroupMember);
453 SCRIPT_REG_FUNC(GetGroupOf);
454 SCRIPT_REG_FUNC(GetGroupAveragePosition);
455 SCRIPT_REG_FUNC(Hostile);
456 SCRIPT_REG_FUNC(FindObjectOfType);
457 SCRIPT_REG_FUNC(SoundEvent);
458 SCRIPT_REG_FUNC(VisualEvent);
459 SCRIPT_REG_FUNC(GetSoundPerceptionDescriptor);
460 SCRIPT_REG_FUNC(SetSoundPerceptionDescriptor);
461 SCRIPT_REG_FUNC(GetAnchor);

Callers

nothing calls this directly

Calls 3

InitLookUpFunction · 0.85
InitFunction · 0.50
GetIScriptSystemMethod · 0.45

Tested by

no test coverage detected