This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
assets:scripting_with_stateanimator [2019-11-17 21:42] skyjake [Introduction] |
assets:scripting_with_stateanimator [2019-11-17 21:52] (current) skyjake [StateAnimator methods] |
||
---|---|---|---|
Line 29: | Line 29: | ||
end | end | ||
end</code> | end</code> | ||
- | * The model asset's ''animation'' block can define named [[model#timelines|script timelines]]. These can be started when a model animation sequence starts, or separately using the [[#StateAnimator_methods]] method. | + | * The model asset's ''animation'' block can define named [[model#timelines|script timelines]]. These can be started when a model animation sequence starts, or separately using [[#StateAnimator methods]]. |
* Any state sequence trigger defined in the model asset can have an embedded [[model#timelines|script timeline]]. | * Any state sequence trigger defined in the model asset can have an embedded [[model#timelines|script timeline]]. | ||
===== StateAnimator variables ===== | ===== StateAnimator variables ===== | ||
Line 68: | Line 68: | ||
#@Identifier_HTML~thing~@# ( ) | #@Identifier_HTML~thing~@# ( ) | ||
+ | Returns a World.Thing representing the mobj that the animator belongs to. | ||
===== Asset callbacks ===== | ===== Asset callbacks ===== |