#1
|
|||
|
|||
Evolution by name changing
Is there a code or feature to like, when it reaches to a certain level, the pet or pokemon name changes to something else?
|
#2
|
||||
|
||||
RE: Evolution by name changing
No, there isn't. I don't plan to code one, and I think this question has been asked before, and other people have said no. Sorry.
|
#3
|
|||
|
|||
RE: Evolution by name changing
If you want the level name to change you could do this:
PHP Code:
You should add if the currentl level is 2, 3, 4, and so on (depending on how many levels you are using). If you want the actual pet's name to change you could do this: PHP Code:
You should add if the currentl level is 2, 3, 4, and so on (depending on how many levels you are using). I use titles in my site so when a pet reaches a certain level they have a title before their actual name. Such as Prince Polly or King Polly. So i put $petname before I put the pet's actual name (which I think is usually refered to as $name). So $name get's Polly from the database but $petname get's it's info from the if statement referring to the current level. |
#4
|
|||
|
|||
RE: Evolution by name changing
Thanks for the code, now where do we put that?
|
#5
|
|||
|
|||
RE: Evolution by name changing
Quote:
If you're asking where exactly to put it in those files, I can't easily answer that. There are many places where you might want to put it. My suggestion is to study those files and how they work and decide where you want to use it. You can make it easier by creating a function in the functions.php that handles the level name or pet name and then call that function in the levelup.php and myadopts.php files. |
#6
|
|||
|
|||
RE: Evolution by name changing
oaky, thanks :)
|
#7
|
||||
|
||||
RE: Evolution by name changing
Oh, I was assuming that it was different for each pet. Like, pet one would have it's 'type' variable being changed to one thing, while pet two would have it being changed to another. Sorry.
|
#8
|
||||
|
||||
RE: Evolution by name changing
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Freeze ONLY the evolution, not the clicks | dulop | Questions and Supports | 2 | 09-28-2012 10:29 AM |
evolution system for 1.2.x? | sensacion | Questions and Supports | 2 | 07-06-2011 11:49 AM |
X Days before evolution | fadillzzz | Mys v1.1.x Mods | 0 | 02-21-2011 03:42 AM |
Evolution through time? | Hall of Famer | Questions and Supports | 6 | 02-28-2010 11:42 PM |
Evolution system? | Hall of Famer | Questions and Supports | 10 | 11-05-2009 05:54 PM |
What's New? |
What's Hot? |
What's Popular? |