Hi!

Here's some more help...I hope wink

I see that you are having problems with the names of your entities and the concept of my or me.
You have declared 3 names
Quote:

ENTITY* tank;
ENTITY* missile;
ENTITY* ene;

Yet you use me or my in all your code because you want more than one missile or more than one ene.

Here's the situation. Start small as Uhrwerk said.
Open an action and give me or my a name.
Use that name and only that name in that code. (think small...only one)
That should clear up what is being done to what.

Next write only one general action for every entity.
Then in the following code of the action use the name.
Code:
action xyx ()
{
	ene = my;
	wait (1);
	ene.trigger_range = 100;
	ene.flags |= (PASSABLE | BRIGHT);
	....
}


Once you have a name you can control it
from any function at any time. So use functions to control your names.

Later, you will have to change the name and there are many ways of doings this.
ex: Arrays...


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C