Jump to content

Object can be destroyed two times in a row


Recommended Posts

=LG/F=Kathon
Posted

The same object (vehicle truck) was destroyed two times. Here is log from mission:

 

T:86522 AType:2 DMG:0.543 AID:1306626 TID:1784832 POS(76271.594,61.492,178302.875)
T:86522 AType:3 AID:1306626 TID:1784832 POS(76271.594,61.492,178302.875)
T:86522 AType:2 DMG:0.109 AID:1306626 TID:1785856 POS(76272.156,61.720,178283.125)
T:86522 AType:3 AID:1306626 TID:1785856 POS(76272.156,61.720,178283.125)
T:86522 AType:1 AMMO:BULLET_RUS_7-62x54_AP AID:1306626 TID:1785856
T:86522 AType:1 AMMO:explosion AID:1306626 TID:1785856
T:86523 AType:12 ID:1784832 TYPE:static_opel[12074,0] COUNTRY:201 NAME:Block PID:-1
T:86523 AType:3 AID:1785856 TID:1784832 POS(76271.594,61.492,178302.875)
 
This truck ( ID:1784832) was connected to MCU_Counter by Event onKilled and MCU_Counter was triggered twice after killing this one truck. First attacker (AID:1306626) was a player and second attacker (AID:1785856) was a AAA.
MF-Belgarufo
Posted

this is a long standing issue.  you'll want a counter to count the truck ONCE hooked to another counter that counts those initial counters.

 

I.E.    truck -> counter 1 -> counter X (being number of trucks you are counting) -> whatever you'd like to do once your convoy has died.

 

 

 

The counter one means your truck is only "counted" the first time it is destroyed

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...