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

smart unit spwan sys?

Status
Not open for further replies.
Level 8
Joined
Jan 18, 2007
Messages
331
hi, is there a way to make a smart unit spawn system? wath i mean with that is: units shuld respawn in ther placed-in-we spot and their lvls is increased by ewery 10:th level my hero gains?? thnx for any help!!
 
Level 9
Joined
Jul 27, 2006
Messages
652
Well i dont know about increasing creep level ingame, you would have to create a new type of unit each time.
As for revial at starting positions, iv got a JASS script in Spell map template that can do that but only for NUTRAL HOSTILE creeps. A link is in my sig.
It wont allow you to change the revived unit, so u might have to include an aura system that buffs creeps as the hero gains levels.
 
Level 9
Joined
Jul 27, 2006
Messages
652
Yup any Neutral Hostile non-hero unit will revive at the same place facing the same angle after the set time.
 
Level 9
Joined
Jul 27, 2006
Messages
652
Two things that i think could cause problems ( not much can go wrong ) :
1. You didnt create the gamecache variable or you named it wrong.
2. You changed the revival time and did not add the (.) after the number, this is required to make it a real.
To solve these problems just follow the readme exactly.
 
Hero creep thing

A simple way to make it so the creeps level up is just make them heros and change their model file back to a creep.

Then to make them only level up when the hero does just use a couple triggers:

Trigger 1:
Events - Map Init
Actions -
Hero - disable experience gain for (creep)
(Repeat for other creeps)

Trigger 2:
Events - (Hero) gains a level
Actions -
Hero - Set (creep) hero-level to ((Hero level of (creep)) + 1), hide level-up graphics
(Repeat for other creeps)


Making your creep a hero will disable the bounty award, I assume (I haven't tested this yet). Also, it's really simple to revive them if they're heros. :emote_razz: Hopefully it will work.
 
Status
Not open for further replies.
Top