• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

Can we get creeps from certain tileset?

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,239
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,239
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