Create Doodad

Status
Not open for further replies.
Level 26
Joined
Aug 18, 2009
Messages
4,099
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