kamqute Posted July 21, 2006 Share Posted July 21, 2006 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-LightfootType-AbilityImmune To SilenceAuto-CalculatedEffect: Script EffectRange: SelfDuration: 0Script: LightfootScriptEffect Name: Script EffectSchool: AlterationVisuals Effect: Feather-- and the script was like this: --ScriptName LightfootScript begin ScriptEffectStart short isOn set isOn to 0 float countDown set countDown to 0end 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 endifend-- 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 More sharing options...
Vagrant0 Posted July 21, 2006 Share Posted July 21, 2006 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-LightfootType-AbilityImmune To SilenceAuto-CalculatedEffect: Script EffectRange: SelfDuration: 0Script: LightfootScriptEffect Name: Script EffectSchool: AlterationVisuals Effect: Feather-- and the script was like this: --ScriptName LightfootScript begin ScriptEffectStart short isOn set isOn to 0 float countDown set countDown to 0end 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 endifend-- 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 More sharing options...
kamqute Posted July 22, 2006 Author Share Posted July 22, 2006 Thanks a ton! Problem solved. In case anyone else has this problem, I put: player.cast modlightfoot player and set modlightfoot to target "self" And the timer was fine. :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.