11-29-2015, 08:41 PM
I have no idea for the private, but I don't think its necessary. I grabbed it off the forums somewhere and copied verbatim except I replaced player with _this.
You need nul = execVM for unit's init since it's not the init.sqf . If you don't put nul = in unit's init line you get "Type Script, expected Nothing". You can put any other variable instead of nul anyways, but by default, use nul/null if you're not going to assign that script to some variable or something.
You need nul = execVM for unit's init since it's not the init.sqf . If you don't put nul = in unit's init line you get "Type Script, expected Nothing". You can put any other variable instead of nul anyways, but by default, use nul/null if you're not going to assign that script to some variable or something.