Jump to content

Non-Default Newbie Problem


kamqute

Recommended Posts

Hi. I would very much appreciate if anyone could help me with this problem that I'm having. It goes like this:

 

I made a non-standard race called a Naiada. I gave it an ability called "Lightfoot," which is supposed to make it immune to burden effects. So I made an ability called "MODAbRaceNaiadaLightfoot" with the following parameters:

 

--

Name-Lightfoot

Type-Ability

Immune To Silence

Auto-Calculated

Effect: Script Effect

Range: Self

Duration: 0

Script: LightfootScript

Effect Name: Script Effect

School: Alteration

Visuals Effect: Feather

--

 

and the script was like this:

 

--

ScriptName LightfootScript

 

begin ScriptEffectStart

short isOn

set isOn to 0

float countDown

set countDown to 0

end

 

begin ScriptEffectUpdate

if ( countDown > 0 )

set countDown to Countdown - GetSecondsPassed

else

set isOn to 0

endif

if ( player.HasMagicEffect BRDN ==1 )

if ( isOn ==0 )

Cast MODLightfoot Player

set isOn to 1

set countDown to 4

endif

endif

end

--

 

and the MODLightfoot is a non-auto-calc'd spell that does a giant feather effect for 4 seconds on target.

 

When I use a burden 10pts for 10secs on self beta-test spell on myself, no other effect comes into play, and if I was almost over-encumbered before casting, I am over-encumbered after casting.

 

If somebody could please help me, that would be great. Thanks!

Link to comment
Share on other sites

Hi. I would very much appreciate if anyone could help me with this problem that I'm having. It goes like this:

 

I made a non-standard race called a Naiada. I gave it an ability called "Lightfoot," which is supposed to make it immune to burden effects. So I made an ability called "MODAbRaceNaiadaLightfoot" with the following parameters:

 

--

Name-Lightfoot

Type-Ability

Immune To Silence

Auto-Calculated

Effect: Script Effect

Range: Self

Duration: 0

Script: LightfootScript

Effect Name: Script Effect

School: Alteration

Visuals Effect: Feather

--

 

and the script was like this:

 

--

ScriptName LightfootScript

 

begin ScriptEffectStart

short isOn

set isOn to 0

float countDown

set countDown to 0

end

 

begin ScriptEffectUpdate

if ( countDown > 0 )

set countDown to Countdown - GetSecondsPassed

else

set isOn to 0

endif

if ( player.HasMagicEffect BRDN ==1 )

if ( isOn ==0 )

Cast MODLightfoot Player

set isOn to 1

set countDown to 4

endif

endif

end

--

 

and the MODLightfoot is a non-auto-calc'd spell that does a giant feather effect for 4 seconds on target.

 

When I use a burden 10pts for 10secs on self beta-test spell on myself, no other effect comes into play, and if I was almost over-encumbered before casting, I am over-encumbered after casting.

 

If somebody could please help me, that would be great. Thanks!

 

 

I think the problem might be with the timer (could never get those to work, and the support for it sucks) or the fact that you don't have a calling actor for the cast function. Try "Player.castmodlightfoot player", if that doesn't do it, it's something with the timer. Try doing it without the timer, and using some other method to reset the script.

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...