Trigger For Hero arena problem

  • Thread starter Thread starter DragonRage
  • Start date Start date
D

DragonRage

Guest
Ok im makeing an rpg and im seeing how to make the arena where you choose the heros. I looked at the one site this site links you to but i cant find all the things they use so far this is what i have

Whisp Creation
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players controlled by a User player) and do (Do nothing)

Well im stuck here anyone know what to do? Thanks also anyone know how to get more tiles in a custom tileset? Thanks alot guys I really need this help
 
I think I have it.

Whisp Creation
Events
Map initialization
Conditions
Actions
Unit - Create 1 Wisp for Player 1 (Red) at (Player 1 (Red) start location) facing (Position of (Triggering unit))
Unit - Create 1 Wisp for Player 2 (Blue) at (Player 2 (Blue) start location) facing (Position of (Triggering unit))
Unit - Create 1 Wisp for Player 3 (Teal) at (Player 3 (Teal) start location) facing (Position of (Triggering unit))
Unit - Create 1 Wisp for Player 4 (Purple) at (Player 4 (Purple) start location) facing (Position of (Triggering unit))
Unit - Create 1 Wisp for Player 5 (Yellow) at (Player 5 (Yellow) start location) facing (Position of (Triggering unit))
Unit - Create 1 Wisp for Player 6 (Orange) at (Player 6 (Orange) start location) facing (Position of (Triggering unit))
Unit - Create 1 Wisp for Player 7 (Green) at (Player 7 (Green) start location) facing (Position of (Triggering unit))
Unit - Create 1 Wisp for Player 8 (Pink) at (Player 8 (Pink) start location) facing (Position of (Triggering unit))

Is this correct? Thanks alot.
 
Except that (Triggering unit) doesn't exist. What did you expect it to be?

Otherwise, that works.
 
whats would i put as the triggering unit i want it to be there at the start of the game.
 
what? i cant even find default building face. Im confused anyone know exacly where it is? thanks.
 
1. Get WEU

2. make the event elapsed game time 0.01 seconds

3. do action
player pick every player in all players and if picked player is controled by a user then do unit create 1 (wisp) for picked player at picked player start location




(I don't have WEU so these are rough triggers)
 
Weu is World Editor unlimited :D

And as for your question...

I would do.

Code:
Melee Initialization
    Events
        Map initialization
    Conditions
    Actions
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Picked player) controller) Equal to User
                        ((Picked player) slot status) Equal to Is playing
                    Then - Actions
                        Unit - Create 1 Wisp for (Picked player) at ((Picked player) start location) facing Default building facing degrees
                    Else - Actions
                        Do nothing
        Do rest of map initialization after this... Remember to not making them a part of the Else actions :D

and then i would have 1 trigger for each hero i would like to be choosable

Code:
Pick Paladin
    Events
        Unit - A unit enters Pick Paladin <gen>
    Conditions
        (Unit-type of (Triggering unit)) Equal to Wisp
    Actions
        Unit - Remove (Triggering unit) from the game
        Game - Display to (All players) the text: ((Name of (Owner of (Triggering unit))) +  Has picked the Paladin)
        Unit - Create 1 Paladin for (Owner of (Triggering unit)) at (Center of Hero Start <gen>) facing Default building facing degrees
        Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Hero Start <gen>) over 0.00 seconds

and just have 1 trigger for each hero i want to be able to chose
 
you dont need WEU to make this trigger, but you can get it at ww.wc3sear.ch

Look at my post above i posted 1 way of doing it
 
thanks I gotta eat soon but ill tell you if it works later i really apreicate the help Ill mention you in the special thanks :)
 
ok this is what i have im stuck here though

Whisp Creation
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Then - Actions
Else - Actions
 
Do the For loop

from player 1-#, check for the slot status (if, then, else), then create a wisp at that location if the player is there.
 
Thanks alot i got it to work but i still have some problems
Whisp Creation
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 1 (Red) slot status) Equal to Is playing
(Player 1 (Red) controller) Equal to User
Then - Actions
Unit - Create 1 Wisp for Player 1 (Red) at (Player 1 (Red) start location) facing Default building facing degrees
Else - Actions
Do nothing



Pick Earth Mage
Events
Unit - A unit enters Pick Earth Mage <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Wisp
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + (Proper name of (Picked unit)))
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Hero Start <gen>) over 0.00 seconds
Unit - Create 1 Earth Mage for (Owner of (Triggering unit)) at (Center of Hero Start <gen>) facing (Random point in (Playable map area))
Unit - Remove (Triggering unit) from the game


Now when i tested I have a townhall two wisps and a peasants. and it makes blue undead witch destroys all the other building because they cant be on blight. any one know what i need to fix?
 
Ok i have all the user players set at human, and there all in one area. When I go to test it i get all my peasants and two whisps, also blues race is undead and it makes blight on the ground witch destroys the other town halls. again heres the trigger i have set up
Whisp Creation
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 1 (Red) slot status) Equal to Is playing
(Player 1 (Red) controller) Equal to User
Then - Actions
Unit - Create 1 Wisp for Player 1 (Red) at (Player 1 (Red) start location) facing Default building facing degrees
Else - Actions
Do nothing
Pick Earth Mage
Events
Unit - A unit enters Pick Earth Mage <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Wisp
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + (Proper name of (Picked unit)))
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Hero Start <gen>) over 0.00 seconds
Unit - Create 1 Earth Mage for (Owner of (Triggering unit)) at (Center of Hero Start <gen>) facing (Random point in (Playable map area))
Unit - Remove (Triggering unit) from the game

The selection works but i have a problem with the whisps.
 
In your first trigger, replace all the "player 1 (red)" with "picked player".



This line:
Game - Display to (All players) the text: ((Name of (Triggering player)) + (Proper name of (Picked unit)))

is either not needed,
or it's needed but not working.
There is no "triggering player" and there is no "picked unit".
You do have, however, an "entering unit" and an "owner of (entering unit)".
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Bot readable, not human usable.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Check out the new Featured Content feature we apparently got with the forum software upgrade! https://www.thehelper.net/featured/
  • The Helper The Helper:
    Also on the bottom right side bar we now have a Trending Content Box!
    +1
  • The Helper The Helper:
    Not on the Headline News page just on the Forums page can we get that Featured and Trending on the home page?
  • Ghan Ghan:
    Since the home page is technically a forum, it now shows on all forum views. Still in the sidebar.
    +1
  • The Helper The Helper:
    Happy Friday! Hope everyone has a fantastic day and an even better weekend!
  • The Helper The Helper:
    Happy Sunday!
  • The Helper The Helper:
    I lovc that I can post webp and X links now! :)
  • The Helper The Helper:
    Happy Thursday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1
  • The Helper The Helper:
    Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
    +1
  • V-SNES V-SNES:
    Sent a pm @The Helper

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top