OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Iva on 12 Apr 2003, 15:51:31
-
Hi
I need help for my script.I was wondering how can i set probablitiy for diferent outcomes.
Example if my plane is dammaged wery hard the some of the gears will not raise or lower.and is it possible to put bombs and AA rockets on the plane
-
You'll have to play with the syntax, but try
? 0.4<(getdammage plane1)<0.6:whatever
Use random to generate a random number which you can use in a similar way.