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