Jump to content
  • 0

AGN Safe Zones Additions


lonewolfgaming

Question

I am currently running AGN safe zones. I am wanting to know how to go about adding my custom traders to be included in the safe zone protection. For example:

        class Item0
        {
            position[]={6325.6772,304.99033,7807.7412};
            a=100;
            b=100;
            activationBy="WEST";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="zonestary";
            expCond="(player distance zonestary) < 100;";
            expActiv="TitleText[""Now entering trader city Stary"",""PLAIN DOWN""]; canbuild = false; inTraderCity = ""Stary"";";
            expDesactiv="TitleText[""Now leaving trader city Stary"",""PLAIN DOWN""]; canbuild = true; inTraderCity = ""Any"";";
            class Effects
            {
            };

Here is what is in my mission.sqm for Stary. I have a construction trader cords are 1339,13383.9,0.001. On the position would I enter 1339,0.001,13383.9, then change name= to Construction Trader, expCond="(player distance ConstructionTrader)< 100;"; then change text in expActiv and expDesactiv to show where they are entering and leaving?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...