OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Multiplayer => Topic started by: Mandoble on 23 Jun 2007, 21:58:22
-
The server spawns an AI tank with its crew and adds the following event to the tank:
_eh = _tank addEventHandler ["IncomingMissile",{deleteVehicle (_this select 0)}];
And no matter how many missiles you fire against that tank, the IncommingMissile event is never executed.
In SP it executes correctly and deletes the tank as soon as a missile is fired against it.
Is there any way to make it work in dedi servers? ???
EDIT: Found a way with SetVehicleInit and ProcessInitCommands.