Hi all,
I recently got OFP:R (finally), and have been furiously trying out all the new scripting commands. I have a quick question, about eventhandlers. I understand the basics of them, and have seen some examples of a couple (like "fired" or "killed"), but I don't really know about all of them. I can't find any tutes or anything about them, other than the vauge description provided in the official com. ref:
"Killed" object:killer
"Hit" object:causedBy,scalar:howMuch
"Engine" bool:engineState
"GetIn" string:position (1),object:unit
"GetOut" string:position (1),object:unit
"Fired" string:weapon,string:muzzle,string:mode,string:ammo
"IncomingMissile" string:ammo,object:whoFired
"Dammaged" string:selectionName,scalar:howMuch
"Gear" bool:gearState
"Fuel" bool:fuelState
"Init" No arguments
Fired, hit and killed are all self explainitory, but what about the rest? I tried putting an "incoming missle" on myself, and having an enemy shoot at me, but the handler didn't go off. What about "gear"? What the heck is that about? What sets it off?
If somebody could be so kind as to provide a quick sentence or two about each eventhandler and what triggers it, I would be much obliged.
Thanks!