Just another script question

Discussion in 'Halo and Forge Discussion' started by TheLunarRaptor, Jan 23, 2017.

Tags:
  1. TheLunarRaptor

    TheLunarRaptor Legendary
    Senior Member

    Messages:
    809
    Likes Received:
    2,102
    Hello, my friend and I are currently working on a huge map project (2 maps together), the problem we are having is that we want to script a door to open when you push 3 boulders into the holes designated for them, I was wondering how to script the door so you need all 3 of them to activate the door, I understand you need to use boundary scripts on the items but I am kinda stumped on what to do to make it required to have all 3 boulders. Any help would be appreciated.
     
    REMkings and ZombieDyer like this.
  2. ZombieDyer

    ZombieDyer Legendary

    Messages:
    992
    Likes Received:
    920
    I've achieved pretty much exactly that, I can show you when you get on xbox
     
  3. REMkings

    REMkings BIOC
    Forge Critic Senior Member

    Messages:
    1,254
    Likes Received:
    190
    Can you perhaps share the scripting settings here? I'd love to know how to do that too. (I'm a noob at scripting lol)
     
  4. ZombieDyer

    ZombieDyer Legendary

    Messages:
    992
    Likes Received:
    920
    seeing as how the map isn't public yet, i'd prefer you talk to me on xbox privately so that I can show you first hand.
     
    TheLunarRaptor likes this.
  5. ExTerrestr1al

    ExTerrestr1al Promethean
    Senior Member

    Messages:
    2,387
    Likes Received:
    2,515
    TheLunarRaptor likes this.
  6. TheLunarRaptor

    TheLunarRaptor Legendary
    Senior Member

    Messages:
    809
    Likes Received:
    2,102
    This is fairly confusing but exactly what im looking for since it doesn't involve using 3 seperate invisible blockers and it only activates or moves when it gets all 3, this will be confusing but its a great start, thankyou.
     
  7. ExTerrestr1al

    ExTerrestr1al Promethean
    Senior Member

    Messages:
    2,387
    Likes Received:
    2,515
    there are a lot of specifics to.... specify, but once you get it, it's easy :)

    for testing, I recommend setting up a set of three decals (numbers 1, 2, and 3) and having each of them despawn on round s tart. They should each have 2 more scripts, one each to spawn when the global variable you are using to count, equals that of the decal (1 for 1, etc.) Actually, set up four decals, and use 0 too, so you can see when the count is definitely set to zero.

    This will help you troubleshoot if you think you have things set up correctly, but something isn't quite working. It will show you if there is a problem with the counting/detection itself.
     
    TheLunarRaptor likes this.

Share This Page