1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. Ride into the sunset with the 32nd Modeling Contest. The contest is optionally paired. Best of luck, people!
    Dismiss Notice
  4. This adventure has come to an end. Congratulate our heroes in the 16th Mini Mapping Contest Results.
    Dismiss Notice
  5. From the gates of hell, the 5th Special Effect Contest Results have emerged.
    Dismiss Notice
  6. Race against the odds and Reforge, Don't Refund. The 14th Techtree Contest has begun!
    Dismiss Notice
  7. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Building on certain places, like a haunted gold mine...

Discussion in 'World Editor Help Zone' started by Rocker742, Mar 28, 2008.

  1. Rocker742

    Rocker742

    Joined:
    Jul 19, 2007
    Messages:
    94
    Resources:
    1
    Maps:
    1
    Resources:
    1
    How would i make it so that a building can only be built on a certain structure, like haunting a gold mine?
     
  2. gavdaman88

    gavdaman88

    Joined:
    Oct 24, 2007
    Messages:
    428
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Like building add ons to a command centre in starcraft I assume.... :p

    I'd use triggers to check if there's the required building within rangeof the building being built, and if there isn't use triggers to cancel the construction.

    EDIT: yep, it works fine. hope the attatched map helps!
     

    Attached Files:

  3. Rocker742

    Rocker742

    Joined:
    Jul 19, 2007
    Messages:
    94
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Hurray! It works! tyvm! +rep :thumbs_up:
     
  4. gavdaman88

    gavdaman88

    Joined:
    Oct 24, 2007
    Messages:
    428
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Glad I could help :) good luck with your map, and make sure you make a thread for it if it progresses enough!