Home   Help Search Login Register  

Author Topic: One Variables for several scripts? How to?  (Read 424 times)

0 Members and 1 Guest are viewing this topic.

Offline jens198

  • Former Staff
  • ****
  • Falcon 3.0 forever!
One Variables for several scripts? How to?
« on: 23 Jul 2003, 12:16:22 »
Hi,

I have on variable called "_s". Several independent scripts should add up on this variable? How do I accomplish that?

Thanks
Jens
Try to look unimportant; the enemy may be low on ammo and not want to waste a bullet on you!

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:One Variables for several scripts? How to?
« Reply #1 on: 23 Jul 2003, 12:20:12 »
u remove da _ from it

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:One Variables for several scripts? How to?
« Reply #2 on: 23 Jul 2003, 15:48:04 »
Variables starting with _ are local to the script in which they occur.     Other variables are global and apply to all scripts, triggers, waypoints etc.

_s = local

s = global
Plenty of reviewed ArmA missions for you to play