Closed AKA-TiTAN closed 3 years ago
The missing colon is intentional. The param name is intentional.
with my very limited scripting knowledge i still find this strange, when i changed the % chance in the params it didnt seam to do anything it was still hard to find intel on the bodies. i even added a 90% chance!. i can see that the params are stored in the mission namespace as variables and the param is called Param_IntelChance not A3_Param_IntelChance. as soon as i corrected this then the intel spawned on lots more AI.
You are right with that A3E works not (in some cases) and Param_IntelChance works every time but keep in mind this is a dev version and not meant to be played. The variable has a different name because the param system gets a rewrite changing variable names. Also when CBA Settings is used, the variable actually IS changed by the param (because CBA uses A3E prefix).
Ah ok that makes sense. thought i was going mad!
_chance is always 10%!
private _chance = missionnamespace getvariable ["A3_Param_IntelChance",10];
needs changing to
private _chance = missionnamespace getvariable ["Param_IntelChance",10];
also does the } and the end of the script need to be };
the above changes work ok for me.