YuraguKoto Posted May 27, 2009 Author Share Posted May 27, 2009 Actually, how would I place a button in a custom menu right in the middle? Or at any point I want? Would I have to incorporate the button into the image or can I just use the Custom Menu Maker to do so?And (glooms….)Even after I've read the tutorials on timers I still can't grasp the concept of them...This greatly limits my ability to script.Could someone like, erm, show me how timers work and what to put into the brackets so that I can set-up a cooldown system and a stun system?Thanks. Link to comment Share on other sites More sharing options...
Patrick Posted May 27, 2009 Share Posted May 27, 2009 Custom Menus? Where about?If in game such as when you are playing, you call a custom menu. This can be done in scripting but is easier in Source edits.I can't seem to grasp timers either. Link to comment Share on other sites More sharing options...
YuraguKoto Posted May 27, 2009 Author Share Posted May 27, 2009 Hmm, I understand that custom menus can be shown in scripting as well as the commands for it, but can you set exactly where you want certain images to be shown on top of a main BG img?And (glooms…)Can someone (God, Demi-God, Zeus, Odin =D) please help me with timers?? I hate being unable to script nice scripts because of my lack of timer knowledge. Link to comment Share on other sites More sharing options...
Patrick Posted May 27, 2009 Share Posted May 27, 2009 Yeah, you can but I'm not sure how. I'll just go check. Link to comment Share on other sites More sharing options...
Patrick Posted May 27, 2009 Share Posted May 27, 2009 I think it would be like this.Call CustomMenuPicture(Index, 6, "\GUI\CUSTOM\blah\blah.bmp", 3, 320)I got this off a script which called a custom menu. I changed the directory names though.^ I think 3 and 320 is the location of the picture. Link to comment Share on other sites More sharing options...
YuraguKoto Posted May 27, 2009 Author Share Posted May 27, 2009 Ahhh… Great. Thanks a bunch!!!!And I just thought of a new cooldown system.Using Sub TimedEvent.Do you think it'll work? Link to comment Share on other sites More sharing options...
Patrick Posted May 27, 2009 Share Posted May 27, 2009 I'm not good with timers. Try not to ask soruce questions much either. I have very limited knowledge.I learn about source and scripts by looking at other people's scripts and source edits. :D Link to comment Share on other sites More sharing options...
YuraguKoto Posted May 27, 2009 Author Share Posted May 27, 2009 Same for me haha =p.But I have a computer programming class in school. Link to comment Share on other sites More sharing options...
Bobosk Posted May 27, 2009 Share Posted May 27, 2009 Sub TimedEvent is for things like, giving exp to everybody that's logged in at a certain time.You use Timers like this:```Call SetTimer("test " & index & "," & "3", 6000)```so this will end up calling up a sub in your main.txt every 6000 miliseconds, with your index, and the variable "3"..```"test Index,3"```so therefore you would make a sub called test, and put your actions to be done every 6 seconds in there… which would most likely include a removetimer```Call RemoveTimer("test " & index & "," & "3")``` Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now