Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
first make a dummy item call house1 , then a trigger call house and a player variable call house , make it array to total number of house you want to make. then here's the trigger, just copy the action as many times as you like and change the variable house[1] and item house 1 onward. then made a shop that sell the house1.
Untitled Trigger 001
Events
Unit - A unit Acquires an item
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item being manipulated)) Equal to House1
Then - Actions
Set House[1] = (Owner of (Triggering unit))
Else - Actions
If you want the player to be able to open the door then try this
Untitled Trigger 002
Events
Player - Player 1 (Red) types a chat message containing -open house1 as An exact match
Player - Player 2 (Blue) types a chat message containing -open house1 as An exact match
Player - Player 3 (Teal) types a chat message containing -open house1 as An exact match
Player - Player 4 (Purple) types a chat message containing -open house1 as An exact match
Player - Player 5 (Yellow) types a chat message containing -open house1 as An exact match
Player - Player 6 (Orange) types a chat message containing -open house1 as An exact match
Player - Player 7 (Green) types a chat message containing -open house1 as An exact match
Player - Player 8 (Pink) types a chat message containing -open house1 as An exact match
Player - Player 9 (Gray) types a chat message containing -open house1 as An exact match
Player - Player 10 (Light Blue) types a chat message containing -open house1 as An exact match
Player - Player 11 (Dark Green) types a chat message containing -open house1 as An exact match
Player - Player 12 (Brown) types a chat message containing -open house1 as An exact match
Conditions
House[1] Equal to (Triggering player)
Actions
Destructible - Open {the door, replaace this}
if you want the play to lost the house when he lost the item(like the first trigger do copy the action....)
Untitled Trigger 001 Copy
Events
Unit - A unit Loses an item
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item being manipulated)) Equal to House1
Then - Actions
Set House[1] = none
Else - Actions
P.S You need 10 rep to +rep some one or you will just + 0 rep....
Ok whell i finished copying all the triggers you showed me... I tested the game bought the Item but the commands dont work at all, heres the map.
I have no idea what i did wrong.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.