Jump to content

Scripting Assistance Needed


Darkfirebird

Recommended Posts

I don't really have any chat programs...

 

Did you govern the activator with some kind of timer? What object are you using for an activator?

 

...But yeah, you should always base your mods off Oblivion.esm.

 

I added a timer to it... Im using a Altar atm for testing purposes >.> Heres the Script for it right now:

SCN CMFXPAuraActivatorScript

short timer

Begin GameMode
if timer < 1
	CMFAuraActREF.moveto player 0 0 55
	CMFAuraActREF.cast CMFXPActivatorSpell CMFAuraActREF
	set timer to timer + 5
elseif timer > 0
	set timer to ( timer - GetSecondsPassed )
endif
End

Link to comment
Share on other sites

If I call the REF in game... it says it doesn't exist. though I'm sure it does seeing it does move to me for the 1st time... but after that it doesn't do anything.

 

Would having a Quest Script doing the timer and setting a variable work more better then placing it on the object itself?

Link to comment
Share on other sites

A Magic Effect script for the aura might be even better, (Object Scripts run GameMode blocks at varying spaces of time depending on their Quest Item status and distance from the player) but try making a new TrigZone or other activator that isn't actually visible in any way. I have a similar problem when trying to move visible things around.
Link to comment
Share on other sites

A Magic Effect script for the aura might be even better, (Object Scripts run GameMode blocks at varying spaces of time depending on their Quest Item status and distance from the player) but try making a new TrigZone or other activator that isn't actually visible in any way. I have a similar problem when trying to move visible things around.

 

So change the Altar to a TrigZone REF instead? wouldnt i still run into the Moving problems?

Link to comment
Share on other sites

I don't think so... I only have trouble moving references that are actually in some way visible, anyways.

Hmmm. So when a normal Activator is moved through a script timer... it has problems. when its moved with a spell cast it doesnt have this problem but then I cant use it unless I make it a player ability. Correct? But making it as a Trig Zone is a static i believe isnt it? so wouldnt I need to change how the script works in order for it to moveto player properly?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...