1. Hey there,
    is it possibly to send a server wide info if someone enter a zone?

    I want to realize a "capture the flag" like event and would need an output to inform everyone if people are entering a certain zone (created with zone manager) + the info which zone (the name not the zone id) it was.

    I think this would be possible but I am so damn noobish about coding that i can't realize it
    :(
     
  2. Make a timer which checks every x seconds which players are inside the radius of the zone.
     
  3. Calytic

    Calytic Community Admin Community Mod

    You can use the OnEnterZone hook provided by ZoneManager to determine when a player enters a zone..
    Code:
    void OnEnterZone(string zoneid, BasePlayer player) {
        if(zoneid == "someid") {
            PrintToChat(player.displayName + " entered some zone");
        }
    }
    There is an identical hook for the opposite purpose as well, OnExitZone
     
  4. Nice, thank you!
    Will take a closer look on the zonemanger hooks... hope to find one that make it possible to print the name of the zone also.
     
  5. Didnt know ZoneManager had those hooks.