[Library] ]{'s KWait System Library Set v2.0

2 replies [Last post]
UltiMaxKom
UltiMaxKom's picture
User offline. Last seen 4 years 10 weeks ago. Offline
Joined: 2016-06-26
Posts: 381
Hi Guys !!! I have make my Scripts Library to you ! If you want to Wait a/some Function to be Executed,,, Use this,,, IT IS : [color=#FF0000][b]]{'s KWait System Library Set v2.0[/b][/color] [img]https://www.dropbox.com/s/316i1ux3d5y6mnd/a8cd7dda79988cf06d79729c20211721.png?dl=1[/img] This one is a Library of a SET of KWait include { KWaitExe and KWaitExeArray } [color=#750000]KWaitExe[/color] Is used to Delay 'A' Function or say, just a Single Function can be Delayed... Which in form of : KWaitExe( DelayInMiliseconds, Function, TheValuesOfTheFunction ) Example : [code]KWaitExe( 2000, HogSay, { CurrentHedgehog, "Is This Really Necessary ?", SAY_SAY } )[/code] AND Included too : [color=#750000]KWaitExeArray[/color] Also used to Delay Function, but this one ABLE To Delay Multi-Function at Once, which mean use {exeset} and { {valset1}, {valset2}, {valset3}, ...} In Form of : KWaitExeArray( DelayInMiliseconds, FunctionArray, ArrayForTheValuesOfTheFunctionArrays ) Example : [code]KWaitExeArray( 4000, { HogSay, AddCaption }, { { CurrentHedgehog, "Is This Really Necessary ?", SAY_SAY }, { "Of Course" } } )[/code] And i release my first Sequel on Waiting Systems,,, I Proudly Serving [color=#FF0000]The ]{'s KWait System Library Set v2.0[/color] : [quote=]{'s KWait System Library Set v2.0] [urlhttps://www.dropbox.comx/sh/5armu2ayymjusr7/AAD1VDO6NL6-aKFH43bir7c-a?dl=1[/url] [/quote] License is in the download,,, All Files in this download is under the License there,,, Ok then... Suggest more if want Big Grin !!! And please make a Response After Downloading Smile [optionally, Precisely,,, just a Choice,,, Leave Blank is the same] ]{
[center][color=#FFFFFF]╟───NW──────┼──────N╢[/color][/center] [float=left][color=#FFFFFF]╓──────────────────╖[/color][/float][float=right] [color=#FFFFFF]╓──────────────────╖[/color][/float] [float=left][color=#FFFF00]⠀HP:[/color] [color=#FF0000]██████████[/color] [color=#00FF00]1E9/1E9[/color][/float][float=right][color=#00FF00]1E9/1E9[/color] [color=#0000FF]██████████[/color] [color=#00FFFF]:MP [/color][/float] [float=left][color=#FFFFFF]╙──────────────────╜[/color][/float][float=right] [color=#FFFFFF]╙──────────────────╜[/color][/float]
Lyberta
Lyberta's picture
User offline. Last seen 3 years 30 weeks ago. Offline
Joined: 2016-09-10
Posts: 177
There's no need to pass arguments of the function separately as Lua has lambdas (or whatever term the Lua uses). Also, your comments at the start of the file take more space than my complete implementation of this.
[url=https://lyberta.net]My stuff[/url]
UltiMaxKom
UltiMaxKom's picture
User offline. Last seen 4 years 10 weeks ago. Offline
Joined: 2016-06-26
Posts: 381
[quote=FaTony] There's no need to pass arguments of the function separately as Lua has lambdas (or whatever term the Lua uses). Also, your comments at the start of the file take more space than my complete implementation of this. [/quote] Hmmm,,, idk about those Smile But i really Use this so MUCH ! So Useful for Any Situation might others get something complicated [Well, my life is Complicated] And LOL Right xD !!! Wkwkwkwkw ! My Purpose insert comment here like wild is, Those folks that maybe not want to open the scripts instead they simply use it without concern the content, just the usage would be read this if they won't disturb the content inside,,, And yeah, for someone who will check the content, that would be lol Big Grin
[center][color=#FFFFFF]╟───NW──────┼──────N╢[/color][/center] [float=left][color=#FFFFFF]╓──────────────────╖[/color][/float][float=right] [color=#FFFFFF]╓──────────────────╖[/color][/float] [float=left][color=#FFFF00]⠀HP:[/color] [color=#FF0000]██████████[/color] [color=#00FF00]1E9/1E9[/color][/float][float=right][color=#00FF00]1E9/1E9[/color] [color=#0000FF]██████████[/color] [color=#00FFFF]:MP [/color][/float] [float=left][color=#FFFFFF]╙──────────────────╜[/color][/float][float=right] [color=#FFFFFF]╙──────────────────╜[/color][/float]
Copyright © 2004-2023 Hedgewars Project. All rights reserved. [ contact ]