Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 12-27-2015, 11:50 PM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 161,558
Abronsyth is on a distinguished road
Default

Ah, so it does work perfectly with your explore system (tested it)! Actually I'm really enjoying playing with your explore system, haha. Now if I can combine the randomness from the one I was using with yours...well then I'd be all set!

Thank you for the help Kyttias, I really do appreciate it <3

EDIT:
It's ridiculous how much I am grinning right now...so I figured out how to make it so when a user visits a location (as set up in Kyttias' explore system) they have a random chance of encountering an adoptable! In fact this could be used to make the chance of encountering anything random (items, specific texts, etc). Here's just the snippet that I've gotten to work right now;
PHP Code:
                case "Area_Name":
                    
$random rand(1,4); 
                    
# So you want to give users a pet?
                    
if($random >= && $random <= 2){
                    
$document->add(new Comment("Look, a pet!"FALSE));
                    
# Quantity, Item Name, Area Name
            
$this->pickupPet("Pet 1");
                    
$this->exploreButton("Next_Area"FALSE"Continue...");
                    }
                    elseif(
$random >= && $random <= 4){
                    
$document->add(new Comment("Huh, nothing here!"FALSE));
                    
$this->exploreButton("Next_Area"FALSE"Return to Map.");
                    }
                break; 
Just in case anyone else could use this <3
__________________
My Mods Site (1.3.4, 2020 Mods)

Last edited by Abronsyth; 12-28-2015 at 12:11 AM.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:21 AM.

Currently Active Users: 2278 (0 members and 2278 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636