So what variables do you mean?

If you wanna transfer Informaition like "Player-Energy or Money or something else" you should use "DEFINE"
for example:



*****************************************
DEFINE Money,Skill51;

Action Player
{

MY.Money = 100;

while(....){
blalalalalala
.....
....
wait(1);
}
}

Function Bad_guy_take_my_money()
{

IF( ....EVENT_TYPE....is TRUE) { YOUR.Money = 0; }

}

****************************************************
The Pointer of the "Bad_guy_take_my_money" have to point the "Player".

So you can handel the energy of every Action , function... !!

I hope that help you to fix your little problem.

Ciao Bonecracker

Last edited by bonecracker; 11/09/07 11:31.

Wenn man glaubt alles zu Wissen, weiß man wenig. Denn Glauben ist nicht Wissen. Wenn man weiß dass man Wissen nur glauben kann, dann kennt man die Warheit!