Home   Help Search Login Register  

Author Topic: IncomingMissile event and dedicated servers  (Read 1231 times)

0 Members and 1 Guest are viewing this topic.

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
IncomingMissile event and dedicated servers
« on: 23 Jun 2007, 21:58:22 »
The server spawns an AI tank with its crew and adds the following event to the tank:

Code: [Select]
_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.
« Last Edit: 24 Jun 2007, 01:31:47 by Mandoble »