Difference between revisions of "Talk:PlayGamebryoAnimation - ObjectReference"
Talk:PlayGamebryoAnimation - ObjectReference (edit)
Revision as of 20:41, 6 April 2013
, 20:41, 6 April 2013→afEaseInTime?
imported>HawkFest (→afEaseInTime?: added an example) |
imported>HawkFest |
||
Line 10: | Line 10: | ||
<source lang="papyrus">rVisibleContanier.PlayGamebryoAnimation("Open", abStartOver = True, afEaseInTime = 0.5) | <source lang="papyrus">rVisibleContanier.PlayGamebryoAnimation("Open", abStartOver = True, afEaseInTime = 0.5) | ||
rContainerHUB.Activate(akActionRef)</source> | rContainerHUB.Activate(akActionRef)</source> | ||
which either skips all timings, either breaks the synchronization between sound and animation... | which either skips all timings, either breaks the synchronization between sound and animation (depending on the container base embedded animation it seems, some work with this parameters others don't)... | ||
We should do: | We should do the following which works with all types of embedded animations (thus being more "generic"): | ||
<source lang="papyrus">If rVisibleContanier.PlayGamebryoAnimation("Open", abStartOver = True) | <source lang="papyrus">If rVisibleContanier.PlayGamebryoAnimation("Open", abStartOver = True) | ||
Utility.Wait(0.5) | Utility.Wait(0.5) |