DeeVee74 Posted October 8, 2014 Share Posted October 8, 2014 I am working on the best and most delicious mod of all time,* and I wanted to know if there was a way to interrupt a scripted timer.I've been all over the place on geck forums and the nexus looking and can't find either an answer or a mod that looks like it does what I want that I can pick apart.Basically, I want a random-chance on using hydra to go into cardiac arrest, but have the 'cure' be expedient use of a stimpak before the timer finishes and runs 'killplayer.'Is this a possibility? Can somebody help? I'm not an idiot, so can follow directions. *This statement is false, and also unevaluated by the FDA. Link to comment Share on other sites More sharing options...
Jokerine Posted October 8, 2014 Share Posted October 8, 2014 Do you really have to use a timer? I mean, wouldn't it possible to make the drug in question just damage health over time? I'm pretty sure that's doable in the game already. Then the effect could be interrupted by using the health item... I dunno, I'm not really an expert. Hope someone can help :) Link to comment Share on other sites More sharing options...
Ladez Posted October 8, 2014 Share Posted October 8, 2014 (edited) Use something like this in an effect script on Hydra: float fTimer Begin ScriptEffectUpdate Set fTimer to fTimer + ScriptEffectElapsedSeconds If fTimer >= 5 Player.Kill EndIf End Then simply make stimpaks remove the effect. Edited October 8, 2014 by Ladez Link to comment Share on other sites More sharing options...
DeeVee74 Posted October 9, 2014 Author Share Posted October 9, 2014 Hey Jokerine, no--that's not quite what I wanted. It's supposed to be a bit more immersive, with visual effects, sudden loss of motor control, and instant death. A Courier with really high health wouldn't necessarily last longer than one without when we're talking cardiovascular failure. Thank you, though. Check out my mod if you wanna see what I'm working on. Ladez--Thank you! That's awesome. I started working on putting that together last night. I'm not familiar enough with the GECK yet that everything flowed smoothly, but I am starting to poke around and getting more ideas of what can and can't be done. I'll know scripting. I know I will. Link to comment Share on other sites More sharing options...
AxlDave Posted October 10, 2014 Share Posted October 10, 2014 If you have a look at the game visual effects, you can find screen effects such as concussion style blurred vision and a fade to black. You could play around with those on a timer to get the visual effects you desire. Or close to, anyway. Link to comment Share on other sites More sharing options...
DeeVee74 Posted October 12, 2014 Author Share Posted October 12, 2014 Thanks, AxlDave! Link to comment Share on other sites More sharing options...
Recommended Posts