Jump to content

Working with Clients Instead of Groups


rassy7

Recommended Posts

Hi everyone, sorry to be a bother, I have been traying to for days to make a small lua to detect aircraft going into and out of a trigger zone and sending a message Soley to that client about them entering and exiting the zone, instead of the group, that's it!! so I understand you have to make a prefix like BlueClent_ also you have to predefine the zones, but I'm not sure how to write that part of the code to do that. When entering Outlaw I would like for the message to be "Entering Outlaw MOA/ATCAA" with the clients name at the beginning. When exiting Outlaw I would like for the message to be "Exiting Outlaw MOA/ATCAA" with the clients name at the beginning. If someone can show me how to make this with one client aircraft I would really appreciate it. e.g. Client aircraft = BlueClient_F-14A(107)

Thank you so very much, hope this is not to much trouble.

Jose

 

---BlueClient Script Start---
 
 _SETTINGS:SetPlayerMenuOff()
  
  local BlueClient = SET_GROUP:New()
  :FilterPrefixes( "BlueClient_" )
  :FilterStart() 
  
  local Outlaw = ZONE:New( "Outlaw MOA/ATCAA" )

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...