Placing any script or code in the init field of a mine has no effect.
Also you can't addactions to mines,
They also don't seem to register when using Cursortarget or nearestobjects either.
Placing any script or code in the init field of a mine has no effect.
Also you can't addactions to mines,
They also don't seem to register when using Cursortarget or nearestobjects either.
Place a simple hint in the init field
Hint "nothing happening"
and when you run the mission nothing is displayed on the screen.
Unfortunately, described functionality is occuring in OA, as well. We cannot change this behavior and it will remain for the time being in the game.
Reasons:
a] mine is not a vehicle (it is a simplier structure from the engine's point)
b] on mine creation, the object translates to become object of type ammo (ammunition). That is why all attached scripts in initialization field are lost.