Well I've been trying to come up with a code to make a secret area in my game.Well I just cannot make one can you guys help?I want one like where it's an area and when you touch it it says "You've Found A Secret Area".I want this because on my forum for my game I came upon an idea that to make the game have secret areas and when you walk into it it'll give you some gold.I'm not worried about the gold part right now,just the base of the area.Thanks,any help is very appreciated.Also just to let you guys know if your going to want to see how my game ends up...The name of it is DBThunder and of course I think you'll think its a Dragonball game but it's not.It is a RPG Game and the DB stands for Dark Ball which I think is going to be the object of the game,to get it.But enough about my game.Like I said any help is apprectiated a lot.Thanks....
§¿¿Thunder¿¿§
PS:If this is the wrong board to post this on I am very sorry.
ID:172700
![]() Apr 6 2004, 1:23 pm (Edited on Apr 6 2004, 1:48 pm)
|
|
![]() Apr 6 2004, 1:31 pm
|
|
Well, the only problem with that is that people will memorize the spots. The idea isnt bad, but would need a lot of work to be practical.
|
Yea well I think I am going to try to come up with a code where it checks if your key has been there before and if it has it doesnt let you through.Or I think I might be able to make it where if you have been through the area it will know that and just not give you another item.Also I might end up making it check your ip.Kind of like an IP BAN system but just make it ban them from an area.Do you follow me any?
- §¿¿Thunder¿¿§ |
Make it so that each secret area is essentially a small fountain of gold, giving the last person who has been there a small bit of gold every minute or so.
|
Yes, but what if people show other people, then you have a problem on your hands, everyone gets a free 500gold or something. You idea is good, but it needs work, and the only way i can thing of doing this properly is to make a really complicated(for a beginner) proc.
|
yes its possible.. you could do something like
turf <tab>sercretarea <tabtab>Enter() <tabtabtab>usr.random = rand(1,10) <tabtabtab>if(usr.random == 2) <tabtabtabtab>usr.gold += 12 <tabtabtab>else ..() |