I'm having some strange issues with a simple function.
Script call:
nul = [TargetSign,ShowSign]execVM "initTarget.sqf"
TargetSign and ShowSign are object names.
initTarget.sqf
_target = _this select 0;
_monitor = _this select 1;
DamHDL = compile preprocessFile "hello.sqf";
_target addEventHandler ["handleDamage",{_handle = [_target,_monitor]call DamHDL}];
hello.sqf
hint format["DAT:%1",_this];
Now the problem:
The hint in hello.sqf returns any but i expect it to return [TargetSign,ShowSign].
Btw: The eventhandler is being fired correctly and everything else works!
Any ideas why?
Cheers,
Zippie