ai kill messages

Discussion in 'Support' started by istealth, Jun 1, 2013.

  1. istealth

    istealth Well-Known Member

    Joined:
    Jan 15, 2013
    Messages:
    190
    Likes Received:
    6
    I know this was added but why isnt it both ways? like when you kill an AI a message pops up over sidechat. but why doesnt it work if an AI bot kills you. i would think other people would like it both ways.
     
  2. Arterio

    Arterio Member

    Joined:
    Mar 27, 2013
    Messages:
    97
    Likes Received:
    4
    I 2nd this. That would be cool.
     
  3. Sarge

    Sarge OpenDayZ Guru! Staff Member

    Joined:
    Feb 25, 2013
    Messages:
    1,003
    Likes Received:
    206
    cause for this i would need to add an eventhandler on all players as well, which i tried to avoid. (reason is that there are already tons of scripts adding EHs to players.

    I might look into that for one of the next releases.

    Sarge
     
  4. C.Project

    C.Project Member

    Joined:
    May 19, 2013
    Messages:
    40
    Likes Received:
    10
    Sarge

    can i change
    Code:
            _message = format["A %3 %2 was killed by Player: %1",_aikiller_name,_ai_type,_ai_xp_type];
    to
    Code:
            _message = format["%1 killed a %2",_aikiller_name,_ai_type]
    So sidechat says: Player killed AI



    and could u also add the player status for the message ? so it looks like that

    " Bandit C.Project killed a Bandit "
    " Survivor C.Project killed ... "
    " Hero C.Pro ... "


    Greatz C.Project
     
  5. Sarge

    Sarge OpenDayZ Guru! Staff Member

    Joined:
    Feb 25, 2013
    Messages:
    1,003
    Likes Received:
    206
    yepp you can.

    you can even adjust the bandit/hero/survivor, just check the humanity and set a variable for the type.

    I'll put it on the todo list, might take a while though.

    Sarge
     
  6. C.Project

    C.Project Member

    Joined:
    May 19, 2013
    Messages:
    40
    Likes Received:
    10
    yea i figured myself how but still stuck at the part :
    Bandit C.Project killed a .....
    Survivor C.Project killed .....
     
  7. Lone Sniper

    Lone Sniper New Member

    Joined:
    Feb 8, 2014
    Messages:
    1
    Likes Received:
    0
    How do you add the kill messages so when it says "BASE FIREFLY" or summut like that how'd you do that?
     
  8. CoolGamer

    CoolGamer Member

    Joined:
    Apr 25, 2014
    Messages:
    33
    Likes Received:
    1
    Deleted...
     
    Last edited: May 28, 2014

Share This Page