Code:
Problem description:
1. Send a message to the world that a player has logged in?
2. Make a new "tree" obj, with icon, and place some on the map?
3. Alter the DeathCheck() messaging to say who the bug was killed by?
4. Write a verb allowing the usr to check her wealth?
5. Make "damaged" icon states for the bug, and show them as the bug is injured?
ID:270335
![]() Mar 18 2006, 2:14 am
|
|
![]() Mar 18 2006, 2:15 am
|
|
All your problems can be solved by going here and READING.
|
There are many tutorials and demos out there just search for them you cannot expect people to do everthing for you
|
1. Send a message to the world that a player has logged in? ANSWERS This is not tabbed right... 1. mob Login() world << "[usr] has logged in!" 2. Huh? 3. mob var/health = 10 mob proc deathcheck() if(health <= 0) usr << "You have died!" view() << "[usr] has died!" del usr 4.an easier way to do this would be the stat panel.. So first ill give you the verb way.. then the stat way... mob var/wealth = 10 mob verb check_wealth() usr << "You have [usr.wealth] gold!" the other way... mob Stat() stat("Wealth",usr.wealth) 5. mob bug icon = 'youricon.dmi' if(health <= 5) src.icon = 'damagedbug.dmi' I'm not sure that last one will work but try it... |
Severe the vein wrote:
Code: > Problem description: 1. Answered in other post 2. ...what? 3. mob 4. You should be able to do that. 5. mob That should help you with your way up =). Though, don't ask too much. You will find on these forums that you will always be given an example, which you need to expand. Otherwise you'd never learn. During difficulties, you can always get back here and post them. O-matic |
A.T.H.K wrote:
There are many tutorials and demos out there just search for them you cannot expect people to do everthing for you He wasn't asking anyone to do everything for him. He was rather asking how to do several things. O-matic |
Severe the vein wrote:
2. Make a new "tree" obj, with icon, and place some on the map?you make the obj like so(not tabbed) obj/tree then, you make a map, sellect it from the object tree(not same object as obj, the object tree has all the stuff in it that you coded, i.e. vars, mobs, verbs, procs, etc...) and click where you want it |
http://zilal.byondhome.com/tutorials/zbt.html
That tutorial will help you with the basics, most of those questions should be answered. Actually, I just realized you copied those questions from the end of that tutorial. If you read that tutorial, you should be able to do those on your own. |