Right, Cog does not use global variables. They're not really needed.
To give another cog a value, you can use the items.dat, SendMessage(), or SendTrigger(). SendTrigger() is better if you want to send the value to just one or two cogs because it's not worth creating a new bin.
So to send the trigger, use:
The destination is the thing number of the player who receives the trigger message. If the dest is negative, all players receive the message. The ID is the ID number of the trigger - no two triggers should use the same ID. Use the variable that you want to send for param0.
In the trigger message, use:
Then, yourVar will contain the value of the variable in the cog that sent the trigger.
The DataMaster has a more complete description of SendTrigger() and trigger: so you should read what it has for them.
Glad to help.
------------------
Author of the
Jedi Knight DataMaster.
Visit
Saber's Domain.