Need help whit ability.
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Need help whit ability.
Do you know how to do ability where unit can consume gold to summon unit in your side.(like i got necromancer and it uses 20 gold to summon ghost in N of it.) And im okey whit one time onyl of once per turn.(if you know any threads answering my question or similar threads of this kind abilityes. i would preshied(it this spelled right:D?) it.
Thanks for veryone even reading this. Ang more thanks answer ones.
Thanks for veryone even reading this. Ang more thanks answer ones.
"This game cured me of my real life addiction."
-Flameslash
-Flameslash
-
- Posts: 1549
- Joined: June 18th, 2009, 1:45 am
Re: Need help whit ability.
Aren't you describing what recruiting is? Or am I misunderstanding?alluton wrote:Do you know how to do ability where unit can consume gold to summon unit in your side.(like i got necromancer and it uses 20 gold to summon ghost in N of it.) And im okey whit one time onyl of once per turn.(if you know any threads answering my question or similar threads of this kind abilityes. i would preshied(it this spelled right:D?) it.
Thanks for veryone even reading this. Ang more thanks answer ones.
- Pentarctagon
- Project Manager
- Posts: 4619
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: Need help whit ability.
You would use [set_menu_item] to create a right click icon, which would trigger a message with a bunch of options of different units to summon. For each option you would check if the person's gold is greater than or equal to the gold required to summon the unit. if yes, then subtract the gold from their side and then create the unit next to them.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: Need help whit ability.
Look up Era of Magic and Era of High Sorcery. They both have the ability to summon a unit.
Also, it is spelled "appreciate."
Also, it is spelled "appreciate."
My_Own_Minion: get rid of the scientist, i can take the blind guy
Talkative: You're like the Wizard of Oz, but evil.
Add-ons in 1.8: Golbeeze's Maps, Golbeeze's RPGs, Evolving Era
Contributor to and Maintainer of Mercenaries
Talkative: You're like the Wizard of Oz, but evil.
Add-ons in 1.8: Golbeeze's Maps, Golbeeze's RPGs, Evolving Era
Contributor to and Maintainer of Mercenaries
Re: Need help whit ability.
thank you for you answers.
"This game cured me of my real life addiction."
-Flameslash
-Flameslash