I was creating a structure for each team where a player of a certain team can buy a hero.
So i created an if statement which says if player is on team 1==true > structure show abilities for triggerd player.
Anyhow i dont know what event to use, i first tried owner changing when a building is clicked, but in the event i cant reference that specific building and then it goes for all buildings, can i reference an event to this specific building being clicked?
I think that you should build one building per team, so if there are 2 teams, you will have 2 seperate buildings... It's easier to solve.
If you really want to use only one building, it will be easier that if you can make the requirement for the skills/heroes) is that the triggering player is on Team X, so the skills/heroes cards will be disabled if player from Team Y triggers, it sounds easier than to hide the card.
@Rice87: GoFor event you could use "Unit enters region" or "Unit enters range of unit" . If u want click-event then i guess you can click "Any" in "Any unit is clicked" and set it to the specific building. Or add a condition "Unit being clicked == (Building X)"
Hey is was just testing if the trigger even runs but it does nothing when i click the biodome, i dont get the display message, i also tried setting it to another structur but that wouldnt help either. Whats wrong with the event? why doesnt the message trigger when i click the building?
BioDomeEventsUnitSelection-ColonistBio-Dome[69.50,81.50]isclickedbyPlayerAnyPlayerLocalVariablesConditionsActionsUI-Display"THIS IS THE BIODOME"for(Allplayers)toSubtitleareaUnit-HidetheTrainRaynorabilityfor(Triggeringunit)
Hey people,
I was creating a structure for each team where a player of a certain team can buy a hero. So i created an if statement which says if player is on team 1==true > structure show abilities for triggerd player. Anyhow i dont know what event to use, i first tried owner changing when a building is clicked, but in the event i cant reference that specific building and then it goes for all buildings, can i reference an event to this specific building being clicked?
pre thanks :)
Rice
Anyone who can help me? is the question too stupid?
@Rice87: Go
I think that you should build one building per team, so if there are 2 teams, you will have 2 seperate buildings... It's easier to solve.
If you really want to use only one building, it will be easier that if you can make the requirement for the skills/heroes) is that the triggering player is on Team X, so the skills/heroes cards will be disabled if player from Team Y triggers, it sounds easier than to hide the card.
@Rice87: GoFor event you could use "Unit enters region" or "Unit enters range of unit" . If u want click-event then i guess you can click "Any" in "Any unit is clicked" and set it to the specific building. Or add a condition "Unit being clicked == (Building X)"
@LaxSalmon: Go
Hey is was just testing if the trigger even runs but it does nothing when i click the biodome, i dont get the display message, i also tried setting it to another structur but that wouldnt help either. Whats wrong with the event? why doesnt the message trigger when i click the building?
@Rice87: Go
Hmm it's probably set to "unclickable" or something in data editor. Try changing that.
@LaxSalmon: Go
Ahh thnx man, "cannot be clicked" was flagged , i put it off so now it works :]