Script For Moving a Creature to The Player

Post » Thu Jun 30, 2011 2:27 am

Hey there, I made this scripted spell to move a creature to the players location for the purpose of having it act as the target of another npc's travel ai package. The kicker here is though is all it does is make the screen fade to black and back and shift the player position... Here is the script below I'm hoping someone can tell me what I'm doing wrong. Its supposed to call for a squad of legion soldiers to follow it to its location using targeted ai travel package on the custom legion npc's.
______________________________
scn zSHESetLegionRallyPointScript

begin ScriptEffectStart
ref LegionRallyPoint
Set LegionRallyPoint to zSHEImperialLegionRallyPoint
LegionRallyPoint.moveto Player, 100, 0, 0
end


begin ScriptEffectFinish

end
__________________________________
The seperate reset/recall script below


________________________________

scn zSHEResetLegionRallyPointScript

begin ScriptEffectStart
ref LegionRallyPoint
ref LegionReturn
Set LegionRallyPoint to zSHEImperialLegionRallyPoint
Set LegionReturn to zSHEImperialLegionReturn
LegionRallyPoint.moveto LegionReturn, 100, 0, 0
end

Begin ScriptEffectFinish
End
User avatar
keri seymour
 
Posts: 3361
Joined: Thu Oct 19, 2006 4:09 am

Return to IV - Oblivion