Results 1 to 2 of 2

Thread: Public message from client

  1. #1

    Question Public message from client

    I have logic on map called Messenger and trigger with condition: rating player < -2000 and on activation: [] exec "Message.sqs". I want that this message will display on all clients. I tried this:

    Killer = name player
    Message = "[SYSTEM]: %1 kill friendly!"
    Pub = Messenger globalchat format [Message,Killer]
    Publicvariable "Killer"
    PublicVariable "Message"
    PublicVariable "Pub"
    exit

    but it doesn't work and I have no more ideas. Anyone can help me?
    Last edited by JTS_2009; Aug 17 2012 at 20:57.

  2. #2
    hi,

    Quote Originally Posted by JTS_2009 View Post
    Spoiler:

    AddRating is not reliable for firendly fire since you also lose rating by destroying empty friendly vehicles and empty enemy vehicles that were used by friendlies.

    I made a friendly fire demo there's a while ago if you kill too much friendlies it ends the mission. That's not exactly what you are asking for but it should help you.

    init.sqs
    Spoiler:


    friendly_fire.sqs
    Spoiler:


    briefing.html
    Spoiler:


    Here's a demo to show how it works: DEMO LINK

    cya.

    Nikiller.
    [LOL] ofp/ArmA clan since 2004.
    No Respawns, No Crosshairs, No Muppets.
    Want a good ofp/ArmA2 coop? Visit the [LOL] clan homepage | ofp [LOL] addons pack | ArmA2 [LOL] addons pack

    WW4mod25 sound replacement mod v1.1 | Nikiller's scripts pack

Similar Threads

  1. Arma 2 - Public Teamspeak - 500 Slots - Public Use
    By Mr_B3n in forum ARMA 2 & OA - SQUADS AND FANPAGES
    Replies: 2
    Last Post: Nov 6 2012, 17:53
  2. AddAction on client
    By eggbeast in forum ARMA - MISSION EDITING & SCRIPTING
    Replies: 12
    Last Post: Oct 9 2010, 19:21
  3. Server and client
    By Doolittle in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 16
    Last Post: Sep 27 2003, 12:14
  4. 1.88 client?
    By Suchey in forum MULTIPLAYER
    Replies: 7
    Last Post: Nov 7 2002, 17:06
  5. Creating client (not...)
    By MobiusMaverick in forum MULTIPLAYER
    Replies: 8
    Last Post: Sep 24 2002, 16:34

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •