Well, they can't really be called "vehicle variables" any more, since they can now be added to groups, namespaces and locations (and possibly other things that I've forgotten about).
Erm, why are you asking us about a script that hasn't even been released at OFPEC, rather than just asking Norrin directly if you have problems? At the very least, you could link it
so we actually knew what you were talking about.
* Regarding the MP aspects, I don't see Norrin specifically claiming MP compatibility in the release. However, at least according to the BIKI, animate
has a fully global effect.
* "attributes" that he uses are properly synced (there is a new 3rd parameter to setVariable
in A2 in order to enable this).
* There's no godly reason why the actions are all added then immediately removed!
* Rather than continually adding and removing the actions, it would be simpler to use the A2 action condition
(same as the A1 action condition, but it can be applied in scripts as well as in config). I'd also prevent people outside the vehicle opening and closing the doors, but that is my choice:
_vcl addAction ["Open C-130 doors", "C130_openDoor\openDoor.sqf", "", 0, false, true, "(not (_target getVariable 'NORRN_openDoor')) and (_this in _target)"];
_vcl addAction ["Close C-130 doors", "C130_openDoor\closeDoor.sqf","", 0, false, true, "(_target getVariable 'NORRN_openDoor') and (_this in _target)"];
Regardless: hey hey Mr Peanut! Haven't seen you around for a long time; I hope you are back to stay with us in Arma 2 land...