ID:1899991
Jul 20 2015, 2:44 am
|
|
im having trouble on multiple things so please bare with me, I need a sample code for a HUD and how to make tabs and how to make skill slots that are non customizable for a sidescroller: |
I have gotten help from many people now including eternal memories but i just cannot find out what the problem is in this code
mob/proc/onDead() if(Health <= 0) KO = 1 icon_state = "dead" sleep() it keeps saying bad argument definition on the mob/proc/onDead() line |
If you post your code inside <dm>...</dm> tags, it preserves the indentation and makes your code readable. Without the indentation it's not clear what's wrong. I also suspect that the code immediately before this is part of the problem, and what you have is an indentation error.
|
mob/icon='Kakashi.dmi' |
A couple of tips here: First, please make sure your text goes outside of the <b>...</b> tags from the forum template, not in; as you can see your text is in bold, so it's harder to read. Second, your questions are too generic, so it'd help if you can narrow it down.
Sample code for a HUD is easy enough to find in the reference, so if you need something more specific just tell people what you're looking for. For the skill slots thing, it's not clear how that ties into sidescrollers at all, so your best bet to get help on that is to elaborate on what you mean.