Jak-Skell
New Member
- Reaction score
- 0
Well, I have a few problems I want to cover in this thread.
First of all, I am developing a map. The map is similar to Vampirism Beast and Island Defense, where you choose a builder, then there is a titan. Now, choosing a builder is item based. In other words, it's like a hero tavern, but you buy an item, and then it creates a unit in the center of the map.
Here's my triggers for this...
Now, I want to accomplish two things here. First, I want the camera to lock onto the tavern, so people can't go remove their view from the tavern until picking a builder.
How do I do this?
Now, my next question, is how to make it so that after one person buys any unit, I can change the Cooldown of the Item so it doesn't have to change. In other words, the cooldown times for all the items is 15 Seconds. (I mean, to load in the store.) Now, after one is bought, I want the cooldown to become automatic. So after someone buys the first Orc, there is still one in stock. I hope that makes sense >.<
Now, for my next trigger goes like this,
Now, I need the actions. I want it to create an Orc at the center of the map, and pan the camera to it. I tried doing it, but Triggering Player wasn't working.
Now, for my final topic, the problem is a picker. In order to buy something, you need a nearby patron. Can I remove this feature, or is there some way I can, like, make the picker invisible and not selectable? Anything to make it completely un-noticable? Then, after it is created, I need a trigger to remove the picker.
Now, for my REAL last topic, because I forgot this, a big error is vision. I need the player to be able to see the tavern to select it, but I want the tavern to be invisible once the player has chosen. So can I remove Share Vision, then enable it again when the Builder is made?
Thanks in Advance.
First of all, I am developing a map. The map is similar to Vampirism Beast and Island Defense, where you choose a builder, then there is a titan. Now, choosing a builder is item based. In other words, it's like a hero tavern, but you buy an item, and then it creates a unit in the center of the map.
Here's my triggers for this...
Trigger:
- Builder Tavern
- Events
- Time - Elapsed game time is 0.10 seconds
- Conditions
- Actions
- Neutral Building - Add Orc to Tavern BUILDER 0002 <gen> with 0 in stock and a max stock of 1
- Neutral Building - Add Random to Tavern BUILDER 0002 <gen> with 0 in stock and a max stock of 1
- Neutral Building - Add Tauren to Tavern BUILDER 0002 <gen> with 0 in stock and a max stock of 1
- Player Group - Pick every player in (All allies of Player 1 (Red)) and do (Actions)
- Loop - Actions
- Player - Set (Picked player) Current gold to 1
- Camera - Pan camera as necessary for (Picked player) to (Position of Tavern BUILDER 0002 <gen>) over 0.00 seconds
- Loop - Actions
- Events
Now, I want to accomplish two things here. First, I want the camera to lock onto the tavern, so people can't go remove their view from the tavern until picking a builder.
How do I do this?
Now, my next question, is how to make it so that after one person buys any unit, I can change the Cooldown of the Item so it doesn't have to change. In other words, the cooldown times for all the items is 15 Seconds. (I mean, to load in the store.) Now, after one is bought, I want the cooldown to become automatic. So after someone buys the first Orc, there is still one in stock. I hope that makes sense >.<
Now, for my next trigger goes like this,
Trigger:
- Builder Selection
- Events
- Unit - Tavern BUILDER 0002 <gen> Sells an item (from shop)
- Conditions
- (Item-type of (Sold Item)) Equal to Orc
- Events
Now, I need the actions. I want it to create an Orc at the center of the map, and pan the camera to it. I tried doing it, but Triggering Player wasn't working.
Now, for my final topic, the problem is a picker. In order to buy something, you need a nearby patron. Can I remove this feature, or is there some way I can, like, make the picker invisible and not selectable? Anything to make it completely un-noticable? Then, after it is created, I need a trigger to remove the picker.
Now, for my REAL last topic, because I forgot this, a big error is vision. I need the player to be able to see the tavern to select it, but I want the tavern to be invisible once the player has chosen. So can I remove Share Vision, then enable it again when the Builder is made?
Thanks in Advance.