BaseAnimatingOverlay

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{NextUpdate}}
+
{{Type|NextBot}}s and {{Type|Player}}s are BaseAnimatingOverlay entities.
  
{{Type|NextBot}} and Scripted entities of the "anim" type ( TODO: Verify that anim SENTs are actually BaseAnimatingOverlay ) are BaseAnimatingOverlay entities.
+
Only [[Scripted Entities]] of the "anim" type are BaseAnimatingOverlay.
  
The following functions can only be used on BaseAnimatingOverlay entities:
+
{{Note|Playing gestures/creating new layers on {{Type|NextBot}}s may not work correctly unless done in the {{HookFunction|NEXTBOT|BehaveUpdate}} hook.}}
 +
 
 +
The following functions can only be used on '''BaseAnimatingOverlay''' entities:
  
 
* Layer creation functions
 
* Layer creation functions
Line 28: Line 30:
 
** {{ClassFunction|Entity|RemoveGesture}}
 
** {{ClassFunction|Entity|RemoveGesture}}
 
** {{ClassFunction|Entity|RemoveAllGestures}}
 
** {{ClassFunction|Entity|RemoveAllGestures}}
 +
 +
[[Category:Lua_Reference]]

Latest revision as of 16:00, 26 February 2018

NextBots and Players are BaseAnimatingOverlay entities.

Only Scripted Entities of the "anim" type are BaseAnimatingOverlay.

NOTE

Playing gestures/creating new layers on NextBots may not work correctly unless done in the NEXTBOT:BehaveUpdate hook.

The following functions can only be used on BaseAnimatingOverlay entities:

Personal tools
Navigation