bomo99 Posted January 28, 2017 Author Share Posted January 28, 2017 this is the code for the summon:scn DMRSummonDraxebegin ScriptEffectStartDispel DMRSummonDarekeSpellDispel DMRSummonDremoreSpellDispel DMRSummonDrumphSpellDispel DMRSummonKalKnightSpellDispel DMRSummonKarokeSpellDispel DMRSummonKorinxSpellDispel DMRSummonLarilicheSpellDispel DMRSummonSolaceSpellDispel DMRSummonWarfeSpell if ( DMRDraxeRef.GetDisabled ) DMRDraxeRef.Enable endif if ( DMRDraxeRef.GetDead ) DMRDraxeRef.Resurrect 0 endif DMRDraxeRef.ResetHealth DMRDraxeRef.MoveTo PlayerRef DMRDraxeRef.PlayMagicEffectVisuals ZDRE 60.0 Message "Summoning Draxe"endbegin ScriptEffectFinish DMRDraxeRef.DispelAllSpells DMRDraxeRef.MoveTo DMRSummonBackRef DMRDraxeRef.Disable Message "Draxe returned to his Dimension"endbegin ScriptEffectUpdate ; this one might have issues, although it should work I think if ( DMRDraxeRef.GetDead ) Dispel DMRSummonDraxeSpell endifendNow i have observed something small but it is very noticeable when you summon one then summon another the summon will lag for a sec but then will be fine if anyone can help fix the lag issue i'd be grateful (The code functions like it should it just lags the game) Link to comment Share on other sites More sharing options...
bomo99 Posted January 28, 2017 Author Share Posted January 28, 2017 (edited) i have another idea i was wondering if it is possible to have weapons auto repair and recharge at lets say every 5 secrecharge could be 1 use per 5 secsrepair could be a normal amount from a repair hammer or lets say 25 Wep health every 5 secs.the limit could be ingame 100 if not expert, 125 if expert or master armorer Edited January 28, 2017 by bomo99 Link to comment Share on other sites More sharing options...
Surilindur Posted January 28, 2017 Share Posted January 28, 2017 Does it lag without the Dispel commands in ScriptEffectStart (for testing, to see if that would be the issue)? And yes, with OBSE, it is possible to build equipment auto-repair functionality, and auto-recharge and almost anything. Those things do require some scripting knowledge and maybe some thinking. It is not too difficult once you know how to create timers (in a quest script or in the magic effect script) and use looping commands from OBSE. Maybe someone else can assist you in that? Come to think of it, TES Alliance has Oblivion scripting tutorials (among other things) on their Forums. Maybe those could be of use to you. Their site was apparently targeted by a hacker at some point, so if the content looks suspicious, you should probably keep away and try again at a later time (the site seems fine at the moment, though): http://tesalliance.org/forums/index.php?/forum/82-esiv-oblivion-school/ Link to comment Share on other sites More sharing options...
bomo99 Posted January 28, 2017 Author Share Posted January 28, 2017 (edited) the lag started to be noticed with the dispel is in the code, when i didnt have it on there was no lagEdit: im assume the repair and recharge cant be scripted through CS? Edited January 28, 2017 by bomo99 Link to comment Share on other sites More sharing options...
bomo99 Posted February 1, 2017 Author Share Posted February 1, 2017 ive ran into a little bug with the script which i thoughtscn DMRDarekeAmuletScriptBEGIN ONEQUIP PLAYERPlayer.Addspell DMRDarekeAmuletEffEndBEGIN ONUNEQUIP PLAYERPlayer.RemoveSpell DMRDarekeAmuletEffEndon the unequip i thought that it would do the same if some were the put the equipped item to storage it would get rid of the spell(because technically the player unequipped the item) would adding this fix the issueBEGIN ONDROP PLAYERPlayer.RemoveSpell DMRDarekeAmuletEffEnd Link to comment Share on other sites More sharing options...
Recommended Posts