ID:141757
 
How do you add party(by that i ment in battle)on this code
http://www.byond.com/developer/Ghaleon/RandomCombatWithPvP
It's confusing
I dont know how to fit the "for" or "if" stuff in it(I dont even know if thts wat ur supose to put) D:


pls helpzor D:
im a noob at coding and yea i read the guide book




DarkKagashi wrote:
(...) I dont know how to fit the "for" or "if" stuff in it(I dont even know if thts wat ur supose to put) D:
(...) im a noob at coding and yea i read the guide book

And there is the problem. You're not supposed to read the guide like you'd read a comic (or a novel), but you're supposed to try and understand what you read.
Usually opening up Dream Maker and writing your own basic code is a good way to learn and see if you did comprehend what you just read (note: Not copy paste, but write it out your own).
If you do not understand the concept of if and for, I do not think it would be beneficial if someone just sent you some code snippet.
You'd still need others to write everything for you.

(Btw. try to spell words properly on the forum, because that does train you to do the same in your code. Compilers are extremely sensitive with such things)
for(): http://www.byond.com/docs/ref/info.html#/proc/for

if(): http://www.byond.com/docs/ref/info.html#/proc/if


If you cannot understand that then, read it once and once.
In response to Schnitzelnagler
I'm trying to understand that thing.
but it's confusing on how much I try to put a party system. Loldasbdbfweyd8basyuduwar ty anyways
In response to DarkKagashi
DarkKagashi wrote:
I'm trying to understand that thing.
but it's confusing on how much I try to put a party system. Loldasbdbfweyd8basyuduwar ty anyways

That problem arises because you are trying to start with something big.
You don't seem to be willing to learn the basics, because they provide no fun material, but without these basics you run into trouble.

What you're trying to do is learn how to use a square root, while you can not count to 10 yet.