Trigger Request

Steve

Member
Reaction score
3
Ok so I basicly need a trigger that will allow the user to select a tower from a merchant and then upon them selecting it the builder then needs to be able to build it in his build menu. Think of it like hero arena but with buildings instead of abilities. I could never figure out how they did this so im asking for a bit of help on this one, thanks.
 

MurderMode

Giving new meaning to co-op... slowly
Reaction score
155
I dont think you can give units new buildings to build through triggers, only in the unit editor. 1 thing you can do tho, is create upgrades for all of the buildings and then add that upgrade to the buildings 'techtree - requirements'. Now add all the buildings to the unit's buildables. The unit will not be able to build the structure until the player has purchased the upgrade.

If you want the structures to replace actual abilities, then base the abilities off things like 'build tiny lumber mill' or what ever it is.
 

AdamGriffith

You can change this now in User CP.
Reaction score
69
Make the builder a hero.
Then make him buy items like tiny castle etc.
Then use the trigger which is like Hero - Order hero to use item (Sold item)

Or something like that
 

ManyTimes

I'm so lonesome I could cry...
Reaction score
293
Something like this. Yes, you need to change it, a lot. Need to use "begins construction" and add another trigger if the building is canceled... or add a counter on how many buildings you can have...ehm, well, suit yourself actually.
 

Attachments

Steve

Member
Reaction score
3
This is meant for a td where the player can mix and match towers available to them so the upgrade system would not work because there is not enough space in the build menu for 45 towers.

The player needs to choose 7 towers from 5 races and without this system my map is in the toilet.

As for the idea with the hero, would it be possible to make the abilities to cost money? like using a trigger such as: when triggering unit casts a spell equal to fire spawn, remove 13 gold from triggering players gold?
 

Knight7770

Hippopotomonstrosesquiped aliophobia
Reaction score
187
As for the idea with the hero, would it be possible to make the abilities to cost money? like using a trigger such as: when triggering unit casts a spell equal to fire spawn, remove 13 gold from triggering players gold?
Yes, it is possible.
 

X-maul

AKA: Demtrod
Reaction score
201
well i havent readed the thread through but couldnt you just customate the ability, from "Tiny Townhall"? dont know if it can be changed, but try it out:thup: (like that smilie alot:D)
 

Romek

Super Moderator
Staff member
Reaction score
960
well i havent readed the thread through but couldnt you just customate the ability, from "Tiny Townhall"? dont know if it can be changed, but try it out:thup: (like that smilie alot:D)
Well. start reading the threads. You're basically pointlessly posting if you're repeating things other's have said, without added any extra details or something.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • jonas jonas:
    Which company do you work for?
  • vypur85 vypur85:
    Haha yea they'd compare my country as well...
  • vypur85 vypur85:
    Hmm i don't receive any pm? Maybe I'm using my phone. Gonna check it out using my pc later.
  • vypur85 vypur85:
    I'm teaching A Levels in a school in Wuhan.
  • jonas jonas:
    You should see a "private conversations" tab in the chatbox, that's where I sent it to you
    +1
  • jonas jonas:
    Wow
  • jonas jonas:
    Is the school system in your country similar to Chinese school system? I could never imagine being a teacher in a Chinese school, what's expected of students and teachers is just so different from what I'd be looking for as a teacher
  • vypur85 vypur85:
    A Levels is based on the UK syllabus offered internationally. So the syllabus is similar throughout different countries, taught in english.
  • vypur85 vypur85:
    I can't speak or write or read much chinese... Too difficult....... Which also makes my life here in china a lil difficult.
  • jonas jonas:
    Oh, I see. I thought Chinese version of A-levels :D
  • jonas jonas:
    I've been using the translate app a lot on my phone. take a photo, translate. take another photo, translate again :D
  • jonas jonas:
    it also has voice translation, my colleagues sometimes use that
  • jonas jonas:
    You came during the 0 covid policy right? How'd you get through quarantine? Did you have some help with the apps and green codes?
  • tom_mai78101 tom_mai78101:
    If you have any Chinese you need help with, let me know.
  • vypur85 vypur85:
    @jonas Those were the things I did too. Translate app and VPN are always the most important things to have to survive. Lol.
  • vypur85 vypur85:
    Yea I came last year. I was quarantined for about 30 days. Fml. The first day of my quarantine was the eve of Chinese new year last year. Fml again... Lol.
  • vypur85 vypur85:
    @tom_mai78101 IIRC you're from Taiwan right.
  • The Helper The Helper:
    I thought China had cracked down on having any foreign teachers?
  • vypur85 vypur85:
    Yeah I've heard of the news before. My school is still actively hiring foreign teachers. Not sure how things work now.
  • The Helper The Helper:
    yeah it is hard to get reliable information about that kind of stuff
  • The Helper The Helper:
    but you are doing it so it is still doable
  • vypur85 vypur85:
    I think it doesn't affect existing foreign teachers. Then again, its still weird that my school is hiring.
  • The Helper The Helper:
    Happy Monday people hope everyone has a fantastic week!
  • Ghan Ghan:
    Happy Monday?! That's a contradiction.

    The Helper Discord

    Staff online

    Members online

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top