LoginToDownload Posted June 30, 2008 Share Posted June 30, 2008 One problem is that I'm pretty sure GameMode blocks won't run on Magic Effect scripts. If you use a ScriptEffectFinish block instead, which only runs when the magic effect ends, (I'm not sure any other Magic Effect scripts do that at all) you could save a lot of trouble. "Cast" is also a funny function, so in that script the player would actually cast the Berserk Fatigue spell on himself, which would only work if the spell was On Self. Another possibility is to make an invisible "Caster" activator teleport to the player and cast it on him, if it's On Target instead. How about this... scn NRRBerserkFatigue ref berserker ;This variable will help if NPCs might use this spell, to make sure not only the player gets fatigued properly. Begin ScriptEffectFinish if (GetDead == 0) ;No sense in doing the whole "cast" thing if the berserker is already dead. set berserker to GetSelf NRRFatigueCaster.MoveTo berserker 0, 0, 10 ;It has to be moved somewhat above the victim, or it would just hit the ground. NRRFatigueCaster.cast NRRSplRaceNordBerserkFatigue berserker endif end Link to comment Share on other sites More sharing options...
Nanolathe Posted July 1, 2008 Author Share Posted July 1, 2008 Can you run me through how to make this invisible caster? Also, if someone has an absorb/reflect/resist magic effect will the spell be able to be absorbed/reflected/resisted (I know I can turn off absorb/reflect, but what about resist?) Link to comment Share on other sites More sharing options...
LoginToDownload Posted July 1, 2008 Share Posted July 1, 2008 For the invisible caster, just find an invisible activator (TrigZones are good). It would probably be a good idea to make a new one with no script, but if you use a standard TrigZone, it wouldn't really effect anything aside from a meaningless script running on occasion. Then you can either make a new empty "Holding Cell", or use an existing one. (One of the "test" cells would be best, but to avoid conflicts I strongly reccommend just making a new cell) Place your invisible activator in the world, double-click on the reference, give it a name, and set it to a persistent reference. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.