Skip to content

Commit 0fb85f1

Browse files
authored
Merge pull request #198 from wiselencave/patch-1
Special animation names for SetDoodadAnimation
2 parents 7033b43 + 30d8e15 commit 0fb85f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

common.j

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23834,6 +23834,8 @@ Makes doodads in the vicinity of a point play an animation.
2383423834

2383523835
@note There are the special values "hide" and "show" for animName, which will hide respectively show the doodad. When a doodad is hidden this way, its animation will pause at the current time frame. Re-showing the doodad resumes the animation.
2383623836

23837+
@note The animName parameter also accepts "soundon" and "soundoff" to enable or disable the doodad’s sound, respectively, without affecting the animation. Using "soundon" after "soundoff" will restart the sound from the beginning.
23838+
2383723839
@note If a target does not have an animation identified by animName (and it's not one of the special animation names either), it will play its first declared animation instead.
2383823840

2383923841
@bug If animName is null and there is at least one target, the game will crash.

0 commit comments

Comments
 (0)