Im makin a tag map but i have many questions plz answer them and ill give credit

User avatar

Topic author
LordElmo5280
Terran Barracks Laundry Master
Terran Barracks Laundry Master
Posts: 34
Joined: Sun Oct 07, 2007 12:13 pm
Contact:
Status: Offline

Re: Im makin a tag map but i have many questions plz answer them and ill give credit

Postby LordElmo5280 » Mon Oct 22, 2007 7:56 pm

you said to do remove player1capture from player1, i'm not sure if this is what you meant:
Action:  Unit Group - Remove all units from Player1captured from Player1
if this is what you meant then it doesn't work.

And you also said to do the condition Boolean:  Player1 controls at least 1 unit in region001 equal to true, but i don't think its boolean, in boolean it says:
((Triggering Unit) is A structure) Equal to True
it doesn't allow me to input the trigger code that you told me.
Last edited by LordElmo5280 on Mon Oct 22, 2007 7:58 pm, edited 1 time in total.


tipereth
Zerg Hydralisk Nail Stylist
Zerg Hydralisk Nail Stylist
Posts: 599
Joined: Tue Sep 19, 2006 7:37 pm
Status: Offline

Re: Im makin a tag map but i have many questions plz answer them and ill give cr

Postby tipereth » Tue Oct 23, 2007 11:44 am

The first one should work as long as you put it in before the 'kill all units in player1'

For the second, try using an integer comparison instead, I guess.

User avatar

Topic author
LordElmo5280
Terran Barracks Laundry Master
Terran Barracks Laundry Master
Posts: 34
Joined: Sun Oct 07, 2007 12:13 pm
Contact:
Status: Offline

Re: Im makin a tag map but i have many questions plz answer them and ill give credit

Postby LordElmo5280 » Tue Oct 23, 2007 1:25 pm

Well you helped me fix my first problem, the one where my critters kept dying but the interger camparison trigger didn't work the closest i could get to what you said was:
Number of units captured in Player1Captured Equal to 1


tipereth
Zerg Hydralisk Nail Stylist
Zerg Hydralisk Nail Stylist
Posts: 599
Joined: Tue Sep 19, 2006 7:37 pm
Status: Offline

Re: Im makin a tag map but i have many questions plz answer them and ill give cr

Postby tipereth » Tue Oct 23, 2007 5:32 pm

I can't give you the exact code, but you need to make a condition wheresuch the trigger will make sure that player 1 owns at least one unit in the region before executing the trigger.

User avatar

Topic author
LordElmo5280
Terran Barracks Laundry Master
Terran Barracks Laundry Master
Posts: 34
Joined: Sun Oct 07, 2007 12:13 pm
Contact:
Status: Offline

Re: Im makin a tag map but i have many questions plz answer them and ill give credit

Postby LordElmo5280 » Tue Oct 23, 2007 7:49 pm

which region?  The region that the chicken is supposed to revive at (region 000)?  or the region where the chicken(captured) is supposed to spawn when the chicken dies(region 001

User avatar

Topic author
LordElmo5280
Terran Barracks Laundry Master
Terran Barracks Laundry Master
Posts: 34
Joined: Sun Oct 07, 2007 12:13 pm
Contact:
Status: Offline

Re: Im makin a tag map but i have many questions plz answer them and ill give credit

Postby LordElmo5280 » Wed Oct 24, 2007 1:38 pm

how would i make it so that bloodlust adds atk speed and atk damage instead of atk speed and movement speed?

User avatar

Ricky_Honejasi
Xel'naga Solar Moderator
Xel'naga Solar Moderator
Posts: 2023
Joined: Wed Aug 16, 2006 3:50 pm
Status: Offline

Re: Im makin a tag map but i have many questions plz answer them and ill give cr

Postby Ricky_Honejasi » Wed Oct 24, 2007 2:52 pm

LordElmo5280 wrote:how would i make it so that bloodlust adds atk speed and atk damage instead of atk speed and movement speed?


Can't directly since bloodlust only modify the attack speed and movement speed.

If auto-cast isn't an issue, you could use a reversed Cripple with negative values since Cripple modifies attack speed and attack damage plus movement speed as a bonus. Since Cripple normally reduces speed (ex : 0.60) , a negative value (ex : -0.60) will make it go faster instead.

Note that you will have to enable negative values in your Editor's preferences to be able to set negative values.

Some other possibilities (with trigger support) :

1) Base a spell on "Fairie Fire", give it the % damage bonus you normally wish then make a trigger to detect when that specific spell is used to add an item-like ability that gives the wanted attack speed bonus (based on the ability on the Gloves of Haste item) on the target.

Also add the target in some unit group variable to remember which units were affected by the spell. Then make yet another trigger that checks every 1 sec if each picked unit of the unit group variable still got the buff and if not, remove its item-like gloves of haste ability on it and remove it from the unit group variable.

2) Similar to #1 with a spell based on "Fairie Fire" but with a created "hidden" unit that casts a spell based on "Bloodlust" on the same target to give the attack speed boost part as well. Basically your hidden unit will require the ability "Locust" to prevent it to be selected AND no model (not seen + no death sound).

Oh yeah, remember to use the action "Unit - Add Expiration Timer" after creating such hidden unit so it dies itself after some time and to avoid to have  many of them lying around and doing nothing.
Last edited by Ricky_Honejasi on Wed Oct 24, 2007 2:55 pm, edited 1 time in total.

User avatar

Topic author
LordElmo5280
Terran Barracks Laundry Master
Terran Barracks Laundry Master
Posts: 34
Joined: Sun Oct 07, 2007 12:13 pm
Contact:
Status: Offline

Re: Im makin a tag map but i have many questions plz answer them and ill give credit

Postby LordElmo5280 » Thu Oct 25, 2007 6:49 pm

When you pick up a gold coin you get 250 gold, but i want you to get only 5 gold how would i do that?

User avatar

Ricky_Honejasi
Xel'naga Solar Moderator
Xel'naga Solar Moderator
Posts: 2023
Joined: Wed Aug 16, 2006 3:50 pm
Status: Offline

Re: Im makin a tag map but i have many questions plz answer them and ill give cr

Postby Ricky_Honejasi » Thu Oct 25, 2007 8:36 pm

LordElmo5280 wrote:When you pick up a gold coin you get 250 gold, but i want you to get only 5 gold how would i do that?


A gold coin is a item similar to the stat books in which you pick up and they automatically used. Basically just edit the gold coin item's ability to whatever amount you want.

User avatar

Topic author
LordElmo5280
Terran Barracks Laundry Master
Terran Barracks Laundry Master
Posts: 34
Joined: Sun Oct 07, 2007 12:13 pm
Contact:
Status: Offline

Re: Im makin a tag map but i have many questions plz answer them and ill give credit

Postby LordElmo5280 » Fri Oct 26, 2007 1:19 pm

is there a way to autocast a spell you wouldn't normally beable to autocast?

User avatar

Ricky_Honejasi
Xel'naga Solar Moderator
Xel'naga Solar Moderator
Posts: 2023
Joined: Wed Aug 16, 2006 3:50 pm
Status: Offline

Re: Im makin a tag map but i have many questions plz answer them and ill give cr

Postby Ricky_Honejasi » Fri Oct 26, 2007 3:07 pm

Nope. If you need auto-cast features, you often need to use trigger support to cast the real spell (basically the #2 I explained in my earlier post) with a dummy auto-cast spell.

User avatar

Topic author
LordElmo5280
Terran Barracks Laundry Master
Terran Barracks Laundry Master
Posts: 34
Joined: Sun Oct 07, 2007 12:13 pm
Contact:
Status: Offline

Re: Im makin a tag map but i have many questions plz answer them and ill give credit

Postby LordElmo5280 » Fri Oct 26, 2007 5:23 pm

alright thanks

User avatar

Topic author
LordElmo5280
Terran Barracks Laundry Master
Terran Barracks Laundry Master
Posts: 34
Joined: Sun Oct 07, 2007 12:13 pm
Contact:
Status: Offline

Re: Im makin a tag map but i have many questions plz answer them and ill give credit

Postby LordElmo5280 » Wed Oct 31, 2007 12:33 pm

Im now trying to create a trigger so that when you build a structure (money farm) you gain 1 gold per secound.  I was able to make the trigger but I can't figure out how to stop the trigger from giving you gold when the structure dies.  So far i have:
Event:
Time - Every 1.00 seconds of game time
Condition: None
Action:
Unit Group - Pick every unit in (Units of type Money farm) and do (Player - Add 1 to (Owner of (Picked unit)) Current gold)


tipereth
Zerg Hydralisk Nail Stylist
Zerg Hydralisk Nail Stylist
Posts: 599
Joined: Tue Sep 19, 2006 7:37 pm
Status: Offline

Re: Im makin a tag map but i have many questions plz answer them and ill give cr

Postby tipereth » Wed Oct 31, 2007 6:16 pm

Can't you just use 'Add player property' and for the number use 'Count living (Money Farm) owned by player' ?

User avatar

Ricky_Honejasi
Xel'naga Solar Moderator
Xel'naga Solar Moderator
Posts: 2023
Joined: Wed Aug 16, 2006 3:50 pm
Status: Offline

Re: Im makin a tag map but i have many questions plz answer them and ill give cr

Postby Ricky_Honejasi » Wed Oct 31, 2007 7:24 pm

Dead units (and possibly dead buildings) are still counted until their "corpse" is fully expired. However, I believe most buildings don't leave "corpses" (or if they do leave,  they just a really high decaying one).

Although there is a condition to check if a unit/building is alive or not.


Return to “WarCraft Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest