avianmosquito Posted July 21, 2011 Share Posted July 21, 2011 I am making a bleed script. I need a set of functions to attach to the end of a script that will cause the script to repeat on an interval of a number of seconds equal to a floating point number I set. For instance, I might set it to 0.6 or 1.2, and it would repeat every 0.6 or 1.2 seconds. No commentary without an answer, please. Link to comment Share on other sites More sharing options...
NorthWolf Posted July 21, 2011 Share Posted July 21, 2011 (edited) In spite of disagreeing with your attitude in regards to the community, I'll throw you a bone: GECK Wiki - GetSecondsPassed That page includes an example function. You could easily make the function more precise (i.e. tenths of a second) since GameMode blocks run every frame of gameplay. Edited July 21, 2011 by NorthWolf Link to comment Share on other sites More sharing options...
avianmosquito Posted July 21, 2011 Author Share Posted July 21, 2011 In spite of disagreeing with your attitude in regards to the community, I'll throw you a bone: GECK Wiki - GetSecondsPassed That page includes an example function. You could easily make the function more precise (i.e. tenths of a second) since GameMode blocks run every frame of gameplay. Thank you. Now the actual bleed script can be assembled, and I'm certain I can work out the weapon and body part scripts that trigger it myself. And, as I promised, I will change my signature to something less spiteful. Link to comment Share on other sites More sharing options...
NorthWolf Posted July 21, 2011 Share Posted July 21, 2011 Alright. I'm glad you're at least willing to consider your opinion on the matter. :P Better than most of my experiences with online diplomacy. Link to comment Share on other sites More sharing options...
avianmosquito Posted July 21, 2011 Author Share Posted July 21, 2011 Alright. I'm glad you're at least willing to consider your opinion on the matter. :P Better than most of my experiences with online diplomacy. Despite outward appearances, I'm not an unreasonable person. I wear my thoughts out on my sleeves, and I really don't feel that someone else taking offense is a reason to change that. By the way, this isn't my permanant signature, just a temp. It gets the point across, though. Link to comment Share on other sites More sharing options...
Recommended Posts