Results 1 to 6 of 6

Thread: Use Gift from random

  1. #1
    Join Date
    May 2009
    Posts
    799
    Mentioned
    2 Post(s)
    Quoted
    16 Post(s)

    Default Use Gift from random

    Hey,
    Does SRL got a function to use the Gift it gets from randoms ?

  2. #2
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Yes. UseRewardBox. It's supposed to be called automatically when FindNormalRandoms solves a random.

  3. #3
    Join Date
    May 2009
    Posts
    799
    Mentioned
    2 Post(s)
    Quoted
    16 Post(s)

    Default

    Oh, i was calling the Reflection Anti Random function before the FindNormalRandoms Function....

    Thanks senrath!

  4. #4
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Oh, if you're using reflection anti randoms (I wouldn't use both at the same time), then you can do this instead:
    SCAR Code:
    if R_FindRandoms then UseRewardBox;

  5. #5
    Join Date
    May 2009
    Posts
    799
    Mentioned
    2 Post(s)
    Quoted
    16 Post(s)

    Default

    Ah, thats a sollution, thanks!.

    Yeah, and its making my script quite slow to use both. Though the ReflectionRandom function cant solve randoms the normal one can, and the other way around ?_?

  6. #6
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Have a look at this: http://www.villavu.com/forum/showthread.php?t=44245 for information on using SRL's UseRewardBox. You shouldn't have to use it directly because FindNormalRandoms - SRL's randoms handler will open the box for you automatically. But you need to tell it what prizes you want. Its all in the tut above.

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
  •