FANDOM


This page was created by Coesbot. It still needs additional comments, examples, links, etc.
Remove the {{bot}} template when you edit this page, please!

// Force the action subject to move to oMoveTo. // - nRunType: 0 Walk, 1 Run, 2 Sneak, 3 Jog (Used to be bRun; old values 0/1 remain the same) // - nMoveAnim: optional anim to play. Overrides nRunType if >= 0.
void ActionForceMoveToObject(object oMoveTo, int nRunType=0, float fRange=1.0f, float fTimeout=30.0f, int nMoveAnim = -1);;

void ActionCastSpell(object oTarget, int nSpell, int nProjectilePathType=PROJECTILE_PATH_TYPE_DEFAULT); void ActionCloseDoor(object oDoor); void ActionDoCommand(action aActionToDo); void ActionFollowCreature(object oFollow, float fFollowDistance=0.0f); void ActionForceMoveToLocation(location lDestination, int nRunType=0, float fTimeout=30.0f, int nMoveAnim = -1); void ActionForceMoveToObject(object oMoveTo, int nRunType=0, float fRange=1.0f, float fTimeout=30.0f, int nMoveAnim = -1); void ActionGiveItem(object oGiveTo, string sItem); void ActionInteractObject(object oPlaceable); void ActionJumpToLocation(location lLocation, int bWalkStraightLineToPoint=TRUE); void ActionJumpToObject(object oToJumpTo, int bWalkStraightLineToPoint=TRUE); void ActionLockObject(object oTarget); void ActionMoveAwayFromLocation(location lMoveAwayFrom, int nRunType=0, float fMoveAwayRange=40.0f, int nMoveAnim = -1); void ActionMoveAwayFromObject(object oFleeFrom, int nRunType=0, float fMoveAwayRange=40.0f, int nMoveAnim = -1); void ActionMoveToLocation(location lDestination, int nRunType=0, int nMoveAnim = -1); void ActionMoveToObject(object oMoveTo, int nRunType=0, float fRange=1.0f, int nMoveAnim = -1); void ActionOpenDoor(object oDoor); void ActionPauseConversation(int nResumeCountRequired=1, object oidOwner=OBJECT_SELF); void ActionPlayAnimation(int nAnimation, float fSpeed=1.0, float fDurationSeconds=0.0); void ActionPlaySound2D(string sSoundCue); void ActionPlaySound3D(string sSoundCue); void ActionPlaySoundAtPosition(string sSoundCue, vector vPosition); void ActionPlayerCombat(); void ActionRandomWalk(int nRange=7); void ActionResumeConversation(int nResumeCount=1); void ActionSetFacing(object oTarget, int nDirection=FACING_TURNSHORTEST); void ActionSpeakStringByStrRef(int nStrRef); void ActionStartConversation(object oObjectToConverseWith, string sDialogResRef="", int nRange=0, int nConversationDelay=0, int nIgnoreLineOfSight=1, int bNoWidescreen=0, int nResetZoom=1); void ActionTakeItem(object oTakeFrom, string sItem); void ActionUnlockObject(object oTarget); void ActionWait(float fSeconds, int nSemaphoreCount=0); void ClearAllActions(); int GetCurrentAction(object oObject=OBJECT_SELF);

void ActionFollowCreature(object oFollow, float fFollowDistance=0.0f); void ActionForceMoveToLocation(location lDestination, int nRunType=0, float fTimeout=30.0f, int nMoveAnim = -1); void ActionForceMoveToObject(object oMoveTo, int nRunType=0, float fRange=1.0f, float fTimeout=30.0f, int nMoveAnim = -1); void ActionJumpToLocation(location lLocation, int bWalkStraightLineToPoint=TRUE); void ActionJumpToObject(object oToJumpTo, int bWalkStraightLineToPoint=TRUE); void ActionMoveAwayFromLocation(location lMoveAwayFrom, int nRunType=0, float fMoveAwayRange=40.0f, int nMoveAnim = -1); void ActionMoveAwayFromObject(object oFleeFrom, int nRunType=0, float fMoveAwayRange=40.0f, int nMoveAnim = -1); void ActionMoveToLocation(location lDestination, int nRunType=0, int nMoveAnim = -1); void ActionMoveToObject(object oMoveTo, int nRunType=0, float fRange=1.0f, int nMoveAnim = -1); void ActionRandomWalk(int nRange=7); void ActionSetFacing(object oTarget, int nDirection=FACING_TURNSHORTEST); void CombatMoveCreature(object oCreature, object oTarget, int nDirection, float fDistance, int nSpeed = MOVESPEED_DEFAULT, vector vPos=[0.0,0.0,0.0]); void EnableOrientationChanges(object oCreature, int bEnable); void JumpToObject(object oToJumpTo, int nWalkStraightLineToPoint=1);


Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.