Noob Needs Help

Warraven

New Member
Reaction score
1
Help!​
Hey im making an arena and I've gone and added some good icons for items, now what im trying to do is that when you pick a hero it makes the hero you selected in area with shops, But heres the trouble...
What ive got is this,

If its too small just double click it and Woosh your off :D
What happens is this,
my.php


Its meant to have Necklace of The Crypt Spiders Which is the first item :(
Someone please help.:banghead: (If you need more info ask)
 

Terrabull

Veteran Member (Done that)
Reaction score
38
What does the trigger do and what is it supposed to do? I was confused by your post.
 

ReVolver

Mega Super Ultra Cool Member
Reaction score
610
Try using Variables to store stuff. Try to change Triggering Unit to Entering Unit

Code:
Actions
    Set EnterUnit = (Entering unit)
    Item - Create Claws of Attack +15 at (Position of EnterUnit)
    Set HeroItem = (Last created item)
    Hero - Give HeroItem to EnterUnit
 

Warraven

New Member
Reaction score
1
Terrabull: Well Its meant to give the unit that enters a region an item specified to is class, like....
I.E Crypt spider enters region,
Give crypt spider Necklace of the Crypt Spiders.

Orc_Tamer: Hmmm but wouldn't that mean that i would have to do alot of triggers, because this is a 10 player game with alot of heros.
 

Some1Sneakin

New Member
Reaction score
5
I think i understand what you want...
Maybe this will help:

Code:
Give Item CF
    Events
        Unit - A unit enters Player Start <gen>
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Unit-type of (Entering unit)) Equal to Crypt Spider
            Then - Actions
                Game - Display to (Player group((Owner of (Entering unit)))) the text: Welcome to Metal Ar...
                Hero - Create Necklace of the Crypt Spider and give it to (Entering unit)
            Else - Actions
                Do nothing
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Unit-type of (Entering unit)) Equal to Revenant
            Then - Actions
                Game - Display to (Player group((Owner of (Entering unit)))) the text: Welcome to Metal Ar...
                Hero - Create Necklace of the Revenant and give it to (Entering unit)
            Else - Actions
                Do nothing

Good Luck Mapping!
 
M

Mythic Fr0st

Guest
Didnt read any of the post, only the guy below, my post lol...

Variables:
Monster, unit type, array 1
Monster_Item, item type, array 1
Monster_Index, integer, no array
Code:
    Events
        Map Initilization
    Conditions
    Actions
        Set Monster[0] = Crypt Spider
        Set Monster_Item[0] = Necklace Of The Crypt Spider
        Set Monster[1] = Revenent
        Set Monster_Item[1] = Necklace of The Revenent
        Set Monster_Index = 1 (//to be set to the highest index there is, Index is the value in the [] tags//)
Code:
    Events
        A unit enters Player Start <gen>
    Conditions
    Actions
        For each Integer A from 0 to Number_Index do MULTIPLE Actions
            Loop - Actions
                If / Then / Else, Multiple Functions
                    If - Conditios
                        Unit type of triggering unit equal to Monster[Integer A]
                    Then - Actions
                        Hero - Create 1 Monster_Item[Integer A] and give it to triggering unit
                        Game - Display to Player group(Owner of triggering unit) the text "Welcome to // didnt see the rest of the text"

That should work
 

Warraven

New Member
Reaction score
1
Yay, Tis working!
They both worked which is cool so Thanks,
And Ive done that but it keeps making the item everytime you enter the region. :(

Would the best way to do that is to just make it so when you select your hero it goes to a region before that, get the item then to the region on the screen shot?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top