• 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.

All my questions

Status
Not open for further replies.
Level 4
Joined
Sep 1, 2008
Messages
83
Note: EVERY time i have a question, i will edit this post, so please check on it every once and a while.

Ok, my first question has to do with hero respawns. Well, usually a hero dies and respawns at one point on the map. I am working on an RPG, so i need to know, if possible, how to create a trigger that when a hero enters a specific area, its revive point will be changed to ______.

Also, how would you increase experience given by units, i know where (gameplay constants) but i dont know what to change.

New: Why doesn't my hero go past level 5 when im playing it?!
 
Last edited:
Level 13
Joined
Jul 3, 2008
Messages
1,098
ok answer on first one is simple....
Make more
trigger 1:
event:
unit enters your region
condition:
entering unit equal to your hero
action:
set variable ress point= to ____

and then simple respawn
event:
unit dyes
condition:
your conditions
action:
respawn dying hero at ress point

and make first trigger more times for more regions....

on second i will answer you later
 
Level 25
Joined
Jun 5, 2008
Messages
2,573
You could make an trigger:

  • Event an unit dies
  • Conditions
    • Killing unit is an hero
    • Owner of killing unit status equal to is playing
    • Owner of killing unit not equal Neutral Hostile
  • Actions
    • Hero add exp *dying unit level + var1 x var2*
This was an example you could just add some exp - 100,200,330,etc.

Or increase the base hero exp rate:

  • Event map init/ or *your_event*
  • Conditions
  • Actions
    • Make *hero1* gain 125% exp
Also make sure all players(if multiplayer map) controled units gain that exp. rate so that Player 1 doesn't have 300% exp rate and Player 4 100%.
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
Hero XP Gained - Creep Reduction Table

remove all values from it and add one value which is 100
 
Status
Not open for further replies.
Top