Page 2 of 2 FirstFirst 12
Results 26 to 38 of 38

Thread: Popup message if random

  1. #26
    Join Date
    Nov 2006
    Location
    Wisconsin
    Posts
    1,629
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    A really cool idea would be a popup box when you get a random that asks you if you want to solve it or if scar should attempt to solve it. Make it auto timeout incase you aren't at the computer.


    Quote Originally Posted by Rubix View Post
    Quote Originally Posted by Dan Cardin View Post
    you ought to listen to Mr. Klean...he's magical!
    this.

  2. #27
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

    Default

    Quote Originally Posted by Mr.Klean View Post
    A really cool idea would be a popup box when you get a random that asks you if you want to solve it or if scar should attempt to solve it. Make it auto timeout incase you aren't at the computer.
    Ye that would be a pretty usefull idea in some cases.

  3. #28
    Join Date
    Dec 2008
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Mr.Klean View Post
    A really cool idea would be a popup box when you get a random that asks you if you want to solve it or if scar should attempt to solve it. Make it auto timeout incase you aren't at the computer.
    Yea, i support that

    OMG!!1


    Dont ever listen to that guy

  4. #29
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    Quote Originally Posted by Shuttleu View Post
    SCAR Code:
    procedure OnRandomFind(RandomName: string);
    begin
      Alert('random '+RandomName+'!!!');
    end;

    SRL_Procs[srl_OnFindRandom] := @OnRandomFind(Capitalize(Randoms[I].Name));
    how bout this?

    ~shut
    no, the proc can't have any parameters. however:
    SCAR Code:
    Procedure OnRandomFind;
    begin
      Alert('random : '+Players[CurrentPlayer].Rand);
    end;

    but if you intend to solve it manually, i don't see why you'd need the lart to tell you which one it is

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  5. #30
    Join Date
    Jul 2008
    Location
    England
    Posts
    763
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    A compiler directive would sort out compatibility issues.
    lol

  6. #31
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    As I have already said Quickmarch .

    Edit: RM, it can have a param just do
    SRL_OnRandomFind : procedure (s : string);
    . But it would have to be a seperate procedure :<.

  7. #32
    Join Date
    Mar 2007
    Location
    <3
    Posts
    2,683
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    For you, from me!

    Happy 15 Juni - http://www.villavu.com/forum/showthread.php?t=46606

  8. #33
    Join Date
    Mar 2007
    Posts
    93
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by XabdullahX View Post
    Hi

    I will make it short:

    I dont know if freddy, or i can do it my self (or devs), but i think it would be great if a popup, like the one that says sucessefully compiled and executed (In the new scar 3.20)

    It should be so, when a random occur, i will tell me. Cause sometimes, i auto, while i am working on the comp, so instead it say that in the debug window, it will popup, and i will do the random manually (since they arent working).

    - That was short
    this is an extremely good idea but perhaps you could incorperate a system alert sound into that have it go ding ding ding along with this popup

  9. #34
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    Quote Originally Posted by burnout View Post
    this is an extremely good idea but perhaps you could incorperate a system alert sound into that have it go ding ding ding along with this popup
    you could do that your self actually..
    Something like:
    SCAR Code:
    if (FindRandom) then
    begin
      Alert('stuff');
      PlaySound(sound);
    end;

  10. #35
    Join Date
    May 2007
    Location
    Everywhere
    Posts
    1,428
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    A popup window for randoms isn't a bad idea. I basically have to have the sounds on in order to know if I get a random. I will usually be fishing, and here the teleport sound, so then I go "oh another random". ( just had a random as I typed this, the irony)

    Now the down side is that if you're playing a full port game, such as half life, halo or doom etc and that window pops up, it can be disturbing after a while. So I think the idea is good for the most part.

  11. #36
    Join Date
    Mar 2007
    Posts
    93
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    does srl actually have a PlaySound(sound); or i have to make one lol and in making one idk now to play the sound without using windows media player or quick time player to play it...

  12. #37
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    you have to make one you just need the file name for a sound. like tada.wav(or mp3 if you have a better version of SCAR)

    also, what about using getaplication(i think).messagebox? that opens a pop-up, and alerts SCAR(it makes it flash in tool bar). then ahve an auto-time out to continue with the script if your not at the cpu
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  13. #38
    Join Date
    Mar 2007
    Location
    <3
    Posts
    2,683
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    A system like this just got added into SRL.

    http://www.villavu.com/forum/showthr...878#post611878

    ~ N1ke!

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •