Jump to content

djs4000

Member
  • Content Count

    1
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About djs4000

  • Rank
    Newbie
  1. BangaBob, great scrip man! Really does help to add some realism. A few people on here have asked about tracking civilian deaths and I am so frikkin close to getting a working system but I seem to have a bug that only works for the first to civilian kills. I was hoping someone with more scripting experience could help me out! Here's my code: init.sqf civilianCasualties.sqf addScript_Unit.sqf So to break it down really quick, init.sqf starts COS and runs civilianCasualties.sqf. civilianCasualties.sqf sets the variables, and runs the public variable event handler to catch updates from the other players. In addScript_Unit.sqf I've added a killed event handler so that every spawned civie when killed checks to see if the killer was on blufor, increments the casualty counter, announces the casualty and sends the variable to the other clients. For some damn reason the script works flawlessly for the first 2 civilian kills! then it just stops working... arg!
×