scn aaFollowerScriptref targetref containershort buttonshort pressedshort activatedshort inventoryopenbegin OnHit playermoddisposition player 100stopcombat playerendbegin OnActivateif getdead == 1activateendifif IsActionRef player == 1MessageBox "What do you want?" "Follow Me." "Wait Here." "Patrol This Area." "Scout This Area." "Dismiss." "Access Inventory."set activated to 1endifendbegin gamemodeif inventoryopen == 1 && menumode == 0set inventoryopen to 0 container.removeallitems target container.disable target.additem aaEquip 1 target.equipitem aaEquip target.removeitem aaEquip 1endifif activated == 1 set target to getself set button to getbuttonpressed if button == 0 addscriptpackage zzFollow removescriptpackage zzWait removescriptpackage zzPatrol removescriptpackage zzScout set activated to 0 elseif button == 1 removescriptpackage zzFollow addscriptpackage zzWait removescriptpackage zzPatrol removescriptpackage zzScout set activated to 0 elseif button == 2 removescriptpackage zzFollow removescriptpackage zzWait addscriptpackage zzPatrol removescriptpackage zzScout set activated to 0 elseif button == 3 removescriptpackage zzFollow removescriptpackage zzWait removescriptpackage zzPatrol addscriptpackage zzScout set activated to 0 elseif button == 4 target.kill set activated to 0 elseif button == 5 set container to target.placeatme aaContainer 1 0 0 container.setownership target.removeallitems container container.activate player set inventoryopen to 1 set activated to 0 endifendifend
For some reason, the follow and patrol commands don't work, but the scout and wait do. Is there any reason why this might be happening?