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

Egg Sack Ability

Status
Not open for further replies.
Level 7
Joined
May 30, 2018
Messages
290
Hello,

as the name suggests Iam looking for a spell that simply allows the hero to create an egg sack from which a unit spawns after a certain time, if not killed before...

Is it possible to create such an ability with relatively "simple means", since I have no experience in coding whatsoever? If yes I'd be glad if someone could help me with this.

+ in that regard... is it possible to make a trigger, which makes that an unit transforms into a new one after a certain amount of time has passed?

Kind Regards
 
Last edited:
Level 23
Joined
Dec 4, 2007
Messages
1,558
You could get away with modifying the goblin tinker's pocket factory ability.

Like change its appearance to the eggsack doodad model and make it spawn spiders?
 
Level 7
Joined
May 30, 2018
Messages
290
You could get away with modifying the goblin tinker's pocket factory ability.

Like change its appearance to the eggsack doodad model and make it spawn spiders?

Thanks for that suggestion, will note that for myself.
 
Level 25
Joined
Feb 9, 2009
Messages
1,800
I couldn't resist making something like this, my example uses hashtables which are reeeeeeally simple, if you are uncertain on hastables I suggest reading this thread and fiddling with the test map, the basic idea is you are attaching values to things. ( I learned much about what i know about hashtables from that very link!)

[Link to map]

To install this example into another map:
  1. copy over the ability and the egg sack unit
  2. copying over the spiderling is optional (as you can set it to what you like.)
  3. in trigger editor copy over the folder named "Egg spawn"
  4. In LaEg Config Set LaEg_UnitType[0] to the egg unit & LaEg_UnitType[1] to the spawned unit after hatching
  5. Still in LaEg Config set LaEg_Ability[1] to your egg laying ability
finish!
 
Status
Not open for further replies.
Top