User talk:Nee
Revision as of 03:24, 1 August 2006 by imported>Nee (Third Person Camera)
Hey all.
I'm having trouble editing the scripting of a mod I downloaded. The mod lets you lock on to people in third person view and bases your movement around them (if you strafe you run in a circle around them). The way you lock onto people is via a ring that you set to a hotkey, and when equiped, you lock on. I've been looking for a command to add to the script that will rotate the camera a little to the left or right and lock it in position when i target onto someone. This would allow a better view for battle, i think (it worked great in Zelda for N64, anyways). Here's what the script looks like:
scriptname TargetActivatorScript ref source
Begin OnEquip
set TargetCount to 0 set TargetCurrent to 0 set TargetMinHeading to 45.0 set source to player.PlaceAtMe TargetActivator,1,0,0 source.cast TargetSpell player source.disable
End Begin OnUneuip
set TargetCount to -1 set TargetCurrent to -1 set TargetMinHeading to 45.0 player.dispel TargertSpell
End
Thanks for any help.