![]() |
#9
|
|||
|
|||
![]()
Yes the OnActorDead method picks up Static objects. Here is the line I pass from Clod to my program which identifies the Dead Ground Actor:
Code:
( 11/15/2011 4:01:27 PM ) New (STATS): DeadGA::1321390887075::0:Static24::1::bob:Artillery.3_inch_20_CWT_QF_Mk_I::AAGun::0:Static34::2::272406.84/200908.39 Event Type (DeadGA) TimeStamp (In unix format) Object Destroyed Name (0:Static24) Object Destroyed Army (1) Object Destroyed Model (The InternalTypedName ) Object Destroyed Type (AAGUN) Destroyer (Who killed the object 0:Static34) Destroyer Army (2) Location of destroyed object (x/y) The same goes for Chiefs and Planes. It still needs to be updated with the damage score value. Thanks for the input. I think I will populate the objects in a database with their total available score there. That way it would be easier for Server Managers to adjust scoring without having to adjust code. I've only crash landed on land. If I kill myself while doing this then the OnActorDead method gets called after about a million OnAircraftDamaged methods ! WildWillie |
|
|