Template:PatchDiff/September 25, 2014 Patch/tf/tf2 misc dir.vpk/resource/modevents.res

From Team Fortress Wiki
Jump to: navigation, search
8989 // "first_blood" "bool" // was this a first blood kill
9090 // "feign_death" "bool" // the victim is feign death
9191 }
92N/A 
93N/A "object_removed"
94N/A {
95N/A "userid" "short" // user ID of the object owner
96N/A "objecttype" "short" // type of object removed
97N/A "index" "short" // index of the object removed
98N/A }
99N/A 
100N/A "object_destroyed"
101N/A {
102N/A "userid" "short" // user ID who died
103N/A "attacker" "short" // user ID who killed
104N/A "assister" "short" // user ID of assister
105N/A "weapon" "string" // weapon name killer used
106N/A "weaponid" "short" // id of the weapon used
107N/A "objecttype" "short" // type of object destroyed
108N/A "index" "short" // index of the object destroyed
109N/A "was_building" "bool" // object was being built when it died
110N/A }
11192 
11293 "tf_map_time_remaining"
11394 {
455436 "userid" "short" // user ID of medic who deployed charge
456437 "targetid" "short" // user ID of who the medic charged
457438 }
458N/A 
N/A439 
N/A440 //
N/A441 // Objects built by players (sentry gun, teleporter, etc.)
N/A442 //
N/A443 // Some object events have "object" and some have "objecttype".
N/A444 // We can't change them as there are third-party
N/A445 // scripts that listen for these events.
N/A446 //
459447 "player_builtobject"
460448 {
461N/A "userid" "short" // user ID of the builder
462N/A "object" "byte"
463N/A "index" "short" // index of the object
N/A449 "userid" "short" // user ID of the builder
N/A450 "object" "short" // type of object built
N/A451 "index" "short" // index of the object
464452 }
465N/A 
N/A453 
466454 "player_upgradedobject"
467455 {
468N/A "userid" "short"
469N/A "object" "byte"
470N/A "index" "short"
471N/A "isbuilder" "bool"
N/A456 "userid" "short" // user ID of the builder
N/A457 "object" "short" // type of object built
N/A458 "index" "short" // index of the object
N/A459 "isbuilder" "bool"
472460 }
473461 
474462 "player_carryobject"
475463 {
476N/A "userid" "short"
477N/A "object" "byte"
478N/A "index" "short"
N/A464 "userid" "short" // user ID of the builder
N/A465 "object" "short" // type of object built
N/A466 "index" "short" // index of the object
479467 }
480468 
481469 "player_dropobject"
482470 {
483N/A "userid" "short"
484N/A "object" "byte"
485N/A "index" "short"
N/A471 "userid" "short" // user ID of the builder
N/A472 "object" "short" // type of object built
N/A473 "index" "short" // index of the object
N/A474 }
N/A475 
N/A476 "object_removed"
N/A477 {
N/A478 "userid" "short" // user ID of the object owner
N/A479 "objecttype" "short" // type of object removed
N/A480 "index" "short" // index of the object removed
486481 }
487482 
N/A483 "object_destroyed"
N/A484 {
N/A485 "userid" "short" // user ID who died
N/A486 "attacker" "short" // user ID who killed
N/A487 "assister" "short" // user ID of assister
N/A488 "weapon" "string" // weapon name killer used
N/A489 "weaponid" "short" // id of the weapon used
N/A490 "objecttype" "short" // type of object destroyed
N/A491 "index" "short" // index of the object destroyed
N/A492 "was_building" "bool" // object was being built when it died
N/A493 }
N/A494 
N/A495 "object_detonated"
N/A496 {
N/A497 "userid" "short" // user ID of the object owner
N/A498 "objecttype" "short" // type of object removed
N/A499 "index" "short" // index of the object removed
N/A500 }
N/A501 
488502 "achievement_earned"
489503 {
490504 "player" "byte" // entindex of the player