OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: HuNtA on 30 Jun 2003, 20:49:06
-
I have a problem!
Im making a NOS management script so you can choose how much you use, and Ive got the counter as 100, but how do I pass it to each script! ???
I havent made enough to show any1 so plz help!
-
Part of solving a problem is stating it in a way people can understand what you are talking about ???
-
Im making a NOS script that lets you use 25% of tank, 50% and so on.
it uses a counter (_counter = 100) to show how much of the tank is left, and it takes away 25 from the 100 counter for useing 25% of the tank, but I dont know how to make sure U cant use 100% of the tank in another script in it
-
just make the local variable _counter a global one by removing the _ in both scripts. ???
-
tx man, I shall try and post here if it doesnt