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

Can we get creeps from certain tileset?

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,287
That function outsources to...
native ChooseRandomCreep takes integer level returns integer
As such it is likely looking up the tileset the map terrain is using and using some native logic to determine the creeps to spawn.

If this is not flexible enough for your use case, you might need to create your own tables of creeps to spawn which mirror the creep classifications.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,287
Sadly the level of detail of functions stops at the natives such as ChooseRandomCreep. The implementation is part of the private source code that Blizzard owns so not publicly available.

That said WC3 Community Edition does seem to reverse engineer stuff like that. Maybe more detail as to how ChooseRandomCreep could be found there.
 
Top