Results 1 to 4 of 4

Thread: How do I create a hero party from a hero gate?

  
  1. #1

    Default How do I create a hero party from a hero gate?

    Ok. I don't have any problems creating maps, but I'm struggling to get hero parties to spawn out of a hero gate. What is the script command? I want to spawn a level 9 knight, 3 level 7 wizards, and 3 level 8 samurai's out of a hero gate. Could really do with some help on this.

  2. #2
    Beetle Ecarus's Avatar
    Join Date
    Dec 2013
    Location
    Venezuela
    Posts
    108
    Gamer IDs

    Steam ID: ecarus333

    Default Re: How do I create a hero party from a hero gate?

    Is the same script command that when you want to a hero party spawn from an action point, you only need to specificate on what hero gate you want to they to come out with a "-".

    For example, if you want party LAST_WAVE to come out from hero gate 3 the script will be:

    Code:
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,LAST_WAVE,-3,1)

  3. #3

    Default Re: How do I create a hero party from a hero gate?

    Does the same script command apply if you want them to spawn from action points as well as hero gates?

  4. #4
    Beetle Ecarus's Avatar
    Join Date
    Dec 2013
    Location
    Venezuela
    Posts
    108
    Gamer IDs

    Steam ID: ecarus333

    Default Re: How do I create a hero party from a hero gate?

    Yes, the same command works, but i will repeat that if you want to spawn from a hero gate you must put a minus before the hero gate's number, for differentiate of the action point.

    By the other way, if you want a party spawn from an action point then you dont need to put a minus, only put the number.

    Examples:

    Code:
    REM Summon party REFORCE at hero gate 4
    
    IF(PLAYER_GOOD,TOTAL CREATURES == 5)
          ADD_PARTY_TO_LEVEL(PLAYER_GOOD,REFORCE,-4,1)
    ENDIF
    
    REM Summon party LORDLAND at Action Point 2
    
    IF(PLAYER1,DUNGEON_DESTROYED == 1)
          IF(PLAYER0,TIMER0 == 4000)
                ADD_PARTY_TO_LEVEL(PLAYER_GOOD,LORDLAND,2,1)
          ENDIF
    ENDIF
    Hope you understand.

Similar Threads

  1. Changing the owner of a hero gate?
    By Yomegami in forum DK2 Mapmaking
    Replies: 1
    Last Post: October 15th, 2018, 22:46
  2. Editor crashes after trying to actions to Hero Party members
    By darkkingkongman in forum Dungeon Keeper 2
    Replies: 1
    Last Post: February 23rd, 2013, 16:59
  3. Hero Party & order troubles
    By LotA in forum DK2 Mapmaking
    Replies: 5
    Last Post: September 6th, 2012, 14:55
  4. Hero Party actions
    By GamingAddict15 in forum DK2 Troubleshooting
    Replies: 2
    Last Post: November 16th, 2009, 11:32

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •