Home   Help Search Login Register  

Author Topic: Scripts probablitiy  (Read 542 times)

0 Members and 1 Guest are viewing this topic.

Iva

  • Guest
Scripts probablitiy
« 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

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Scripts probablitiy
« Reply #1 on: 16 Apr 2003, 14:52:40 »
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.
Plenty of reviewed ArmA missions for you to play