Hey I've been trying to figure this out and I can't seem to get it working, my intent is creating a script that creates random targets for CAS practice, and I've made so there's smoke spawned near the enemy to guide dumb fire, what I'm missing is to simulate having an FAC on the ground who has a laser on target.
So what I'm trying to make is a scripted laser show up on the HUD / Sensor of the players airframe and this is intended for use on dedicated server hence the dynamic variable.
_laser = createVehicle ["LaserTargetW" ,getPos _randomTarget, , 0, "CAN_COLLIDE"]; [side _Player,[_laser , 3600]] remoteExec ["reportRemoteTarget",0]; [_laser,[side _Player, true]] remoteExec ["confirmSensorTarget",0];
_randomTarget is just a invisible helipad. side _Player is in this case EAST hence the "LaserTargetW". Anyone got a clue about this? Is there another solution to make scripted laser for human pilots?
Thanks for any help in advance