You defined scavfact as a STRUCTURE in the vlo but the slo has it as an int, the script parser needed a STRUCTURE in the function so it reported a type mismatch. If it had got as far as parsing the vlo it would have reported the int - STRUCURE thing too (How long did it take me to find...Don't askGoth Zagog-Thou wrote:you can't use a Scavenger Factory for that (got a type mismatch error when I tried).
BTW: Who had the bright idea that arg0 should be the LAST one
There were also 2 vars included from the vlo that where declared private in the slo
Other than that the scripts are fine
I also did a little cleaning up, changed some variable names, added calls to "ToWorld()" where appropriate, and split the mission 1 AI file into player 3 and player 7 files.
Please use the templates for scripts. That way everything has a consistent "look" and the ToWorld function and the base events are available without extra work
It's really hard to tell what your supposed to do during a mission without a mini-map and objective markers
Anyway here is the latest package with the new maps and scripts.
