Scripting Help for Stockpile

Discussion in 'Halo and Forge Discussion' started by TAxxOUTBR3AKxx, Dec 16, 2016.

  1. TAxxOUTBR3AKxx

    TAxxOUTBR3AKxx Ancient
    Senior Member

    Messages:
    35
    Likes Received:
    27
    With Monitor's Bounty in full-swing, we have a slew of advanced scripting options available for us to play with. I know a ton of people are seeking out to remake classic gametypes, and one such is Stockpile.

    So far the spawning is down, proper Nav Markers are working and placed on the objects. I am wondering, based off those of you with more advanced knowledge, how reliable the script setup is that Im aiming for and given our current options, if it's even possible to set up this way.

    -5 Neutral Flags, 2 Capture Zones; 1 for each team.

    -Each flag needs to be an Activator within a Zone.

    - Red team zone, each flag independently activates power states a, b, c, d, and e when placed in their Zone.

    -Blue team zone, these same flags independently activate power states f, g, h, i, and j when placed in their zone.

    -Zones have a 60-second countdown and send a message to a corresponding team Brain when it hits 0.

    -Such brains check multi power/msg. Each script checks power state AND message received. This means 5 scripts, 1 per flag for scoring purposes. The action increments player and team score by 1.

    Now here's my questions.

    *Is this a workable setup?
    *Can you check if a player is holding the flag and not just within its bounds?
    *When checking Continuously if an object is in bounds to turn on a power state, does the state stay on when the object is removed?
    *Are all these actions synced so when both brains do scoring it does them simultaneously and not one before the other?

    Just some questions and help would be appreciated as I learn how this system works a bit better.
     
  2. Egggnog

    Egggnog Game Crashers

    Messages:
    267
    Likes Received:
    331
    Sorry bud, @Max Extra already did stockpile, but if you still want to make it you can ask him for help.
     
  3. Max Extra

    Max Extra Forged Friday Founder
    Staff Member Administrator Forge Critic Senior Member

    Messages:
    547
    Likes Received:
    784

Share This Page