• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Can we get creeps from certain tileset?

Status
Not open for further replies.
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.
 
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.
 
Status
Not open for further replies.
Back
Top