Question...

Discussion in 'Scar/Simba Help' started by TimminyCricket, Sep 18, 2009.

Question...
  1. Unread #1 - Sep 18, 2009 at 1:04 AM
  2. TimminyCricket
    Joined:
    Sep 16, 2009
    Posts:
    6
    Referrals:
    0
    Sythe Gold:
    0

    TimminyCricket Newcomer

    Question...

    How to question...

    How do I detect if a mouse has clicked.
    It'd be if(?);
    then etc.

    I would also like to know how to send the script to another line.

    Like in QBASIC it would be GOTO 3 or whatever.
    Could someone please help me out!!! :)

    Regards
    TimminyCricket...
     
  3. Unread #2 - Sep 18, 2009 at 8:20 AM
  4. Hey321
    Joined:
    Jul 30, 2007
    Posts:
    503
    Referrals:
    0
    Sythe Gold:
    0

    Hey321 Forum Addict

    Question...

    To your first question, try this:

    Code:
    If(IsMouseButtonDown(1/2))then
    To your second question, define a label like this:

    Code:
    GotoNow : Label
    Place it:

    Code:
    Goto GotoNow:
    If...Then
      DoThis
    Call it:

    Code:
    Goto GotoNow
    This is limited, as you have to call it after the goto is placed, and I believe that it doesn't work cross-procedure, but it may.

    ~Sandstorm
     
  5. Unread #3 - Sep 19, 2009 at 9:39 AM
  6. TimminyCricket
    Joined:
    Sep 16, 2009
    Posts:
    6
    Referrals:
    0
    Sythe Gold:
    0

    TimminyCricket Newcomer

    Question...

    Ok, I've worked out what I need

    Is there a command like

    if(IsMouseButtonNotDown(True))then???
     
  7. Unread #4 - Sep 19, 2009 at 11:31 AM
  8. Hey321
    Joined:
    Jul 30, 2007
    Posts:
    503
    Referrals:
    0
    Sythe Gold:
    0

    Hey321 Forum Addict

    Question...

    Code:
    If(Not(IsMouseButtonDown(1/2)))Then
    ~Sandstorm
     
< Scar script questions | Information Kiosk Script >

Users viewing this thread
1 guest


 
 
Adblock breaks this site