OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: supershooter on 21 Mar 2005, 16:26:04

Title: What is a global place?
Post by: supershooter on 21 Mar 2005, 16:26:04
I have the CBT HMMWV Pack v1.0. When the veichles burn they give off a lot of smoke which lags the game. A script comes with the addon that reduces the smoke. But it has to be put in a global place, what is this?
Heres the script:

To reduce smoke effects in all CBT addons, write this line in global place:
- "CBT_LowSmoke = true"

Title: Re:What is a global place?
Post by: Blanco on 21 Mar 2005, 17:00:37
A global place is
eg. :

The onactivation field of a trigger

CBT_LowSmoke is a global variable, this means you can access this variable from anywhere.






Title: Re:What is a global place?
Post by: supershooter on 21 Mar 2005, 17:35:25
oh right. I'll try it. :)