mob/player |
_________________________________
I am trying to refer to this code(below) in the code above but i'm not sure how.
mob/Races |
ID:720021
May 2 2012, 5:55 pm (Edited by moderator on May 2 2012, 5:59 pm)
(See the best response by SuperAntx.)
|
|||
I am working on a zelda rpg and I don't know what condition I need to use:
_________________________________ I am trying to refer to this code(below) in the code above but i'm not sure how.
| |||
#2 May 2 2012, 6:02 pm
|
|
Please read this: http://zilal.byondhome.com/tutorials/zbt.html
And, more importantly, this: http://www.byond.com/docs/guide/ [EDIT] Also nifty: ID:326846 | |
#3 May 2 2012, 6:07 pm
|
|
What exactly are you trying to do here? It appears that you do not have a firm grasp of the DM language. Therefore, you need to provide clear instructions as to what is going on so that we can help you learn from these problems.
| |
#4 May 2 2012, 6:18 pm
|
|
if mob/Races=
on this line in the code, it tells me i'm missing a condition even when i put in the race that i wanted to(hylian) so, it's not so much that i don't know, but i think it mabye an error. | |
#5 May 2 2012, 6:20 pm
|
|
As the others said you should read the documentation you can't place an if statement in that location..
Learning is key.. | |
#6 May 2 2012, 6:20 pm
|
|
It's very much an error, because the DM language syntax looks nothing like that. That's why I linked you to tutorials so that you can actually learn how DM code is written.
| |
I think I can see what you're trying to do, but you're doing it in a way more complicated than what you need and maybe more complicated than what you're ready for. What you probably want is an associative list, here's how you would do that.
| ||
#8 Aug 31 2012, 10:51 am
|
|
thank you SuperAntx
| |
Read over the Guide and Reference and learn some more.