Kerberus14 Posted January 20, 2015 Share Posted January 20, 2015 LocalTimeVar + 1 in your example would be 1 hour, not 1 day, right? Link to comment Share on other sites More sharing options...
LordDan Posted January 20, 2015 Share Posted January 20, 2015 Quick question related to frost magic.Is there a mod out there that makes ice effects stop glowing?The biggest issue I have with skyrim is mages throwing tiny suns at me. Link to comment Share on other sites More sharing options...
Kerberus14 Posted January 20, 2015 Share Posted January 20, 2015 (edited) Do Float/Int properties linger in a game? Or do they reset to 0 every time you load a save? Edited January 20, 2015 by Kerberus14 Link to comment Share on other sites More sharing options...
IsharaMeradin Posted January 20, 2015 Share Posted January 20, 2015 LocalTimeVar + 1 in your example would be 1 hour, not 1 day, right?In my example, it would be 1 day. This is because the value stored in the global variable is in days with the decimal part making up the hours, minutes & seconds of any partial day amount. Local Float & Int properties...They won't reset when you load a save. However, each new instance of an object will maintain its own value, if changed, for the local property variable. Link to comment Share on other sites More sharing options...
lofgren Posted January 20, 2015 Share Posted January 20, 2015 Quick question related to frost magic.Is there a mod out there that makes ice effects stop glowing?The biggest issue I have with skyrim is mages throwing tiny suns at me.Which spell looks like tiny suns to you? Link to comment Share on other sites More sharing options...
Kerberus14 Posted January 20, 2015 Share Posted January 20, 2015 You can only have one OnUpdate event that runs at a set interval? Any other attempt I make to modify another script's OnUpdate's event will run with the RegisterForSingleUpdate from my other scripts.(I've set it to 5 seconds for example, but it will still run once every 1 seconds like the other scripts.) Link to comment Share on other sites More sharing options...
lofgren Posted January 21, 2015 Share Posted January 21, 2015 You can have one onupdate event per form or object reference. Link to comment Share on other sites More sharing options...
markdobrasil Posted January 21, 2015 Share Posted January 21, 2015 Hello, I'm trying to make a creature use a specified spell when low on hp. So far all I did on the script was this: actor SelfRef Event OnDying(Actor akKiller) EndEvent Now, I'm trying to set up so it casts the spell on the floor and near the caster.I found this in the list of scripts: mySpell.cast(myActivator, playerRef) Ok so, "mySpell" is the name of the spell that the player will see in game right?myActivator is the actor and PlayerRef is the player of course. But I don't want the spell to be cast on the player, what should I type? I'm guessing in the end it will stay like this: actor SelfRef Event OnDying(Actor akKiller) mySpell.cast(myActivator, playerRef) EndEvent Help. Link to comment Share on other sites More sharing options...
Mattiewagg Posted January 21, 2015 Author Share Posted January 21, 2015 Hello, I'm trying to make a creature use a specified spell when low on hp. So far all I did on the script was this: actor SelfRef Event OnDying(Actor akKiller) EndEvent Now, I'm trying to set up so it casts the spell on the floor and near the caster.I found this in the list of scripts: mySpell.cast(myActivator, playerRef) Ok so, "mySpell" is the name of the spell that the player will see in game right?myActivator is the actor and PlayerRef is the player of course. But I don't want the spell to be cast on the player, what should I type? I'm guessing in the end it will stay like this: actor SelfRef Event OnDying(Actor akKiller) mySpell.cast(myActivator, playerRef) EndEvent Help.You may want to use OnHit and chdck HP instead. OnDying is called like a second before they die. It's not low health. It's like the game is getting ready to kill them. Link to comment Share on other sites More sharing options...
Kerberus14 Posted January 21, 2015 Share Posted January 21, 2015 (edited) You can have one onupdate event per form or object reference.If I put these scripts on an Alias or a Quest will that change? This magic effect that I attached to a bear's attacks using a spell lingers permanently on the target the bear attacks, it never dispels itself. I made the duration of the paralysis/effect 1 second in the spell, what the hell is wrong? http://puu.sh/eOVLx/1662d1c28a.png Edited January 21, 2015 by Kerberus14 Link to comment Share on other sites More sharing options...
Recommended Posts