duplicator.ApplyBoneModifiers

From GMod Wiki

Revision as of 06:18, 24 October 2009 by Crazy Quebecer (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Warning 64.pngThis page needs to be edited as it contains information that is unclear or incorrect. Improvement can be discussed on the talk page. Find more pages that need work here.
Details: None given.
Function
Syntax duplicator.ApplyBoneModifiers( Player Player, Entity Entity )
Where is this used?
Description:
Applies Bone Modifiers.
Returns: nil
Part of Library: duplicator
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Duplicator.ApplyBoneModifiers]Duplicator.ApplyBoneModifiers [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionApplies Bone Modifiers.
Used onNewerServer.png
Code
 
for EntID, Ent in pairs( CreatedEntities ) do	 
 
	ApplyEntityModifiers ( Player, Ent ) 
	ApplyBoneModifiers ( Player, Ent ) 
 
	if ( Ent.PostEntityPaste ) then 
		Ent:PostEntityPaste( Player, Ent, CreatedEntities ) 
	end 
 
end 
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox