Posted By: bk9iq
Defining Entities - 07/16/10 23:22
Hello all,
I am attaching the same action to about 10 boxes ...
I am giving the box an entity name "box"
However only the first box is getting the name "box" ...
when I am using if you == ball and then some action, only the first box is affected...
How can I make the name "box" as if it is for all the boxes
ENTITY* box;
action move_box()
{
box = me;
.....
}
I am attaching the same action to about 10 boxes ...
I am giving the box an entity name "box"
However only the first box is getting the name "box" ...
when I am using if you == ball and then some action, only the first box is affected...
How can I make the name "box" as if it is for all the boxes
Quote:
ENTITY* box;
action move_box()
{
box = me;
.....
}