Results 1 to 7 of 7

Thread: Need a quick fix

  1. #1
    Join Date
    Dec 2011
    Posts
    392
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Need a quick fix

    Why does
    Simba Code:
    MouseItem(CrayPattern[I], false);

    Give me a type mismatch?

  2. #2
    Join Date
    Dec 2011
    Location
    P2P :)
    Posts
    561
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Does it work when you set it to true or anything else? Also try
    Simba Code:
    MouseItem(CrayPattern[I], 0);

    If replacing it with 0 doesn't compile then your CrayPattern array might be the issue. Are you trying to get it to drop them? If so look at the DropItem-DropAllExcept in Inventory.Simba and mod that so then you could use a line like

    Simba Code:
    if (InvFull) then
      DropAllCray;

  3. #3
    Join Date
    Feb 2011
    Location
    Wisconsin
    Posts
    398
    Mentioned
    1 Post(s)
    Quoted
    10 Post(s)

    Default

    Quote Originally Posted by lilcmp1 View Post
    Why does
    Simba Code:
    MouseItem(CrayPattern[I], false);

    Give me a type mismatch?
    Simba Code:
    MouseItem(CrayPattern[I], mouse_right);

    try this

  4. #4
    Join Date
    Sep 2010
    Location
    Finland
    Posts
    299
    Mentioned
    8 Post(s)
    Quoted
    37 Post(s)

    Default

    Simba Code:
    MouseItem(CrayPattern[I], mouse_left)

    All mouse functions uses these integers: (Atleast I think...)

    mouse_left
    mouse_right
    mouse_move

    So replace the true/false to one of those.
    Rusting away

  5. #5
    Join Date
    Dec 2011
    Location
    P2P :)
    Posts
    561
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Smidqe View Post
    Simba Code:
    MouseItem(CrayPattern[I], mouse_left)

    All mouse functions uses these integers: (Atleast I think...)

    mouse_left
    mouse_right
    mouse_move

    So replace the true/false to one of those.

    That might be true too and this might be outdated.

  6. #6
    Join Date
    Sep 2010
    Location
    Finland
    Posts
    299
    Mentioned
    8 Post(s)
    Quoted
    37 Post(s)

    Default

    Quote Originally Posted by Hero View Post
    That might be true too and this might be outdated.
    Yeah, the descriptions are very outdated
    Rusting away

  7. #7
    Join Date
    Dec 2011
    Posts
    392
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The mouse_right and left worked! thanks to all for help

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
  •