Log in

View Full Version : Help With a Few Functions.



blowsmoke1
08-28-2012, 01:30 AM
setrun(Run: True): Boolean; says that "run" cannot be found. How would i declare this? I tried adding Run to the Global Variables list.

P1ng
08-28-2012, 01:34 AM
SetRun(Run: Boolean): Boolean;

So to turn run on you would put "SetRun(True);" In your script.

blowsmoke1
08-28-2012, 01:37 AM
Ah now it works Thank you P1ng How do i "Close out" The little Squeel Guy on start up? is there a function for that?

P1ng
08-28-2012, 01:39 AM
ExitSquealOfFortune;

I love having that at the start of all of my scripts, too :)

riwu
08-28-2012, 07:28 AM
FindNormalRandoms calls exitSquealOfFortune too. I prefer calling that at startup instead as it may find and solve other form of 'randoms' (eg. findDwarvenPopup when that existed)