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

Create Doodad

Status
Not open for further replies.
Level 26
Joined
Aug 18, 2009
Messages
4,097
There is no trigger action to create doodads, they are pretty much not supported by jass.

JASS:
//============================================================================
// Doodad API
//
native SetDoodadAnimation       takes real x, real y, real radius, integer doodadID, boolean nearestOnly, string animName, boolean animRandom returns nothing
native SetDoodadAnimationRect   takes rect r, integer doodadID, string animName, boolean animRandom returns nothing

You may only hide/show existing ones by

call SetDoodadAnimation(x, y, radius, doodadId, nearestOnly, "hide", animRandom)

call SetDoodadAnimation(x, y, radius, doodadId, nearestOnly, "show", animRandom)
 
Status
Not open for further replies.
Top