• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

farm tower can we remvoe ?

Status
Not open for further replies.
Level 10
Joined
Feb 20, 2008
Messages
448
i thought i made a tthread of this o_O but i dont find it on today post :/

the fact is my tower give stats and no xp to my hero

i want my tower give no stats and no xp at all !!!
wherever my hero is when tower kill some one, my hero gain stats
 
Level 10
Joined
Feb 20, 2008
Messages
448
sorry im french
events of my problem
a tower build by player 12 kill a unit (note my hero is far of my tower)

action and result of my problem
the tower give stats to my hero evrytime my tower kill a ennemy

is they a way to remove building giving stats to my hero evrytime my tower kill some1
 
Level 7
Joined
Jun 16, 2008
Messages
327
You can find that action in the "Hero" section.
It's name is "Hero - Modify Hero Attribute".
Here's an example of its usage and how it looks:

  • Hero - Modify Strength of YourUnit: Add 10
You can change the attribute, hero and add/subtract amount within the action by editing the blue/red text. Here's another example:

  • Hero - Modify Agility of Archmage <gen>: Add 18
Just remember to add the events and fully customize the trigger to your desires.
 
Level 10
Joined
Feb 20, 2008
Messages
448
what do you mean!!!! if i understand i gotta make a trigger when this tower kill a unit its give no stats ?

is this possible to do like to put a general variable like building so i dont have to specifie all raw code(ability id) cuz im working with jass!!!

cuz note i wanan REMOVE giving stats, not giving stats to my hero
 
Level 9
Joined
Apr 3, 2008
Messages
700
What do you mean? What stats do tower gives to your hero?
You can remove a non-triggering exp getting in gameplay constants.
You can create local variable or constant for the building, like
Code:
local unittype u=<type of your tower>
<actions>
set u=null
 
Level 10
Joined
Feb 20, 2008
Messages
448
its give hmm str,int & agi stats teh fact is when the building or evry building kill unit its give thats to owner of building!! its give normal stats liek 2-3 point evry kill and tis pissing me off ,i dfont wanna remove tower its fucking usefull but i wanna remove farming ability of evry building if i could get a jass that work for evry building it could be usefull

and for the jass u showed me can u explain it 2 me ? im a new guy in jass i dont know all things
 
Level 9
Joined
Apr 3, 2008
Messages
700
str,int & agi? Maybe you have another trigger / ability that give it to unit after each kill?

M_Vegeta said:
and for the jass u showed me can u explain it 2 me ? im a new guy in jass i dont know all things
But you wrote that you're making maps on jass. How can you make maps on it if you don't know basic functions? You can change a local with global array.
 
Status
Not open for further replies.
Top