Need help on first TD
Forum rules
Before making a new topic:
First, check if your question has already been answered in the Tutorials section.
If you didn't find a solution, use the search function.
If searching didn't help either, you can make a new topic.
Topic title & content:
You must use a descriptive title. (Help plz is not good) (Need help with Dialog buttons is good)
Go into much detail when posting. You should post attachments. Like screenshots of the problem, the map you are making, replays of the error. Or you could even make a screencast (video) of your problem and upload it here.
Spelling:
Grammar seems to be a serious problem amongst teenagers, so use a spell checker or you will get no love.
Read your posts twice, before pressing the reply button.
And do not use profanity. Chatspeak (y r u nub) and Leetspeak (1 C4N S33 H4X) are not welcome here either.
Only World Editor related questions are allowed here!
(Click for Battle.net help) (Click for World Editor help)
Before making a new topic:
First, check if your question has already been answered in the Tutorials section.
If you didn't find a solution, use the search function.
If searching didn't help either, you can make a new topic.
Topic title & content:
You must use a descriptive title. (Help plz is not good) (Need help with Dialog buttons is good)
Go into much detail when posting. You should post attachments. Like screenshots of the problem, the map you are making, replays of the error. Or you could even make a screencast (video) of your problem and upload it here.
Spelling:
Grammar seems to be a serious problem amongst teenagers, so use a spell checker or you will get no love.
Read your posts twice, before pressing the reply button.
And do not use profanity. Chatspeak (y r u nub) and Leetspeak (1 C4N S33 H4X) are not welcome here either.
Only World Editor related questions are allowed here!
(Click for Battle.net help) (Click for World Editor help)
Need help on first TD
its going great execpt for three things idk how to do (sry if they seem noobish) first; When a wave of creeps spawn to and begin to run the maze they run jumbled together in a pack and they stop moving every now and then because they cant cut turns all together... how can i make them run single-file like in most TDs? Second: would i use an integer varible for a leader board showing player name/ # of kills and how could i do that. and Third: How do i set the teams lives and how do i make it to where if a creep leaks through that a life is lost? thankx ^^ sry if it seems alot (eenans prolley laughin rite now)
- 3ICE
- Admin
- Posts: 2631
- Joined: Sat Mar 01, 2008 11:34 pm
- Realm: Europe
- Account: 3ICE
- Clan: 3ICE
- Location: Hungary
- Contact:
Re: Need help on first TD
Spawn one at a time and wait 0.2 or 0.5 sec between two spawns. Periodic spawn trigger by 3ICETorin wrote:how can i make them run single-file like in most TDs?
.... Events
........ Player - Player 12 (Brown)'s Food used becomes Equal to 0.00
.... Conditions
.... Actions
........ Unit - Create 1 Footman for Player 12 (Brown) at SpawnPoint facing 0.00 degrees
........ Wait 0.20 seconds
........ Unit - Create 1 Footman for Player 12 (Brown) at SpawnPoint facing 0.00 degrees
........ Wait 0.20 seconds
........ Unit - Create 1 Footman for Player 12 (Brown) at SpawnPoint facing 0.00 degrees
........ Wait 0.20 seconds
........ Unit - Create 1 Footman for Player 12 (Brown) at SpawnPoint facing 0.00 degrees
........ Wait 0.20 seconds
........ Unit - Create 1 Footman for Player 12 (Brown) at SpawnPoint facing 0.00 degrees
........ Wait 0.20 seconds
........ Unit - Create 1 Footman for Player 12 (Brown) at SpawnPoint facing 0.00 degrees
........ Wait 0.20 seconds
Yes, the best practice is using an integer array, lets call it "Kills" Count Kills trigger by 3ICETorin wrote:would i use an integer varible for a leader board showing player name/ # of kills and how could i do that.
.... Events
........ Unit - A unit owned by Player 12 (Brown) Dies
.... Conditions
.... Actions
........ Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 1)
........ Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to Kills[(Player number of (Owner of (Killing unit)))]
I guess you already know how to create the leaderboard and add the players to it.
TD leak trigger by 3ICETorin wrote:How do i set the teams lives and how do i make it to where if a creep leaks through that a life is lost?
.... Events
........ Unit - A unit enters LeakRegion <gen>
.... Conditions
........ (Owner of (Triggering unit)) Equal to Player 12 (Brown)
.... Actions
........ Set Lives = (Lives - 1)
........ If (All Conditions are True) then do (Then Actions) else do (Else Actions)
............ If - Conditions
................ Lives Equal to 0
............ Then - Actions
................ Player Group - Pick every player in (All players) and do (Game - Defeat (Picked player) with the message: gg)
............ Else - Actions
--3ICE
Re: Need help on first TD
Awsome thanx 3ICE ^_^
- 3ICE
- Admin
- Posts: 2631
- Joined: Sat Mar 01, 2008 11:34 pm
- Realm: Europe
- Account: 3ICE
- Clan: 3ICE
- Location: Hungary
- Contact:
Re: Need help on first TD
No problem.
Leaving this thread open, should you have more questions, post here.
--3ICE
Leaving this thread open, should you have more questions, post here.
--3ICE
Re: Need help on first TD
I do have a few problems though I cant get my leader board to show up (which i think i can fix on my own)and when i try to set the life loss triggers it wants a value i dont know what to put at.. for example if i wanted the trigger to start with 25 lives (which it does and then i go through the event and conditions but at the actions.....
....... Unit - a unit enters Leakregion <gen>
........ (Owner of (Killling unit)) Equal to Player 10 (light blue)
........ Set Lives[value] = Index- 1 how can i make it to where there is no Index there and its just- 1? thankx in advance btw: the color coded Set Lives[index] = value- 1 is in a window because since i cannot specify a value for [index] i cant press ok If you didnt understand my question here is a screen shot of my problem
....... Unit - a unit enters Leakregion <gen>
........ (Owner of (Killling unit)) Equal to Player 10 (light blue)
........ Set Lives[value] = Index- 1 how can i make it to where there is no Index there and its just- 1? thankx in advance btw: the color coded Set Lives[index] = value- 1 is in a window because since i cannot specify a value for [index] i cant press ok If you didnt understand my question here is a screen shot of my problem
- 3ICE
- Admin
- Posts: 2631
- Joined: Sat Mar 01, 2008 11:34 pm
- Realm: Europe
- Account: 3ICE
- Clan: 3ICE
- Location: Hungary
- Contact:
Re: Need help on first TD
I don't know English good enough to be able to explain that. Basically just click OK and it'll work. If you still can't get it to work, I'll capture a video of me doing it...
EDIT: Leaderboard - Show
EDIT: Leaderboard - Show
Re: Need help on first TD
i cant click okay unless i specify a value for the red.... should it be zero? because it wont let me just make it -1....i think you'll have to make a vid or sumthing... im running a map test now ill repost if it works if i dont repost i still need help
- 3ICE
- Admin
- Posts: 2631
- Joined: Sat Mar 01, 2008 11:34 pm
- Realm: Europe
- Account: 3ICE
- Clan: 3ICE
- Location: Hungary
- Contact:
Re: Need help on first TD
Here you go:
If this GIF looks weird, let me know (Plays fine on my computer in every browser except I.View32)
--3ICE
EDIT: I accidentally named the variable "Lives". It should have been "Kills". Not a big problem though, this video is for explaining how to work with Arithmetic Functions, not about creating a trigger.
--3ICE
If this GIF looks weird, let me know (Plays fine on my computer in every browser except I.View32)
--3ICE
EDIT: I accidentally named the variable "Lives". It should have been "Kills". Not a big problem though, this video is for explaining how to work with Arithmetic Functions, not about creating a trigger.
--3ICE
Last edited by 3ICE on Thu Jun 14, 2018 11:23 am, edited 1 time in total.
Reason: updated image (static URL)
Reason: updated image (static URL)
Re: Need help on first TD
oH! i was in arithmetic not player number. can u not delete this thread becasuse i wont be near the computer with my war3 map for a while thanks^^
- 3ICE
- Admin
- Posts: 2631
- Joined: Sat Mar 01, 2008 11:34 pm
- Realm: Europe
- Account: 3ICE
- Clan: 3ICE
- Location: Hungary
- Contact:
Re: Need help on first TD
Sure. I never delete anything to preserve knowledge.
Other users with the same problem as yours can find this thread via search and they'll be good to go.
We are on Google.
Other users with the same problem as yours can find this thread via search and they'll be good to go.
We are on Google.
Who is online
Users browsing this forum: No registered users and 57 guests