CEffectData.SetOrigin

From GMod Wiki

Revision as of 18:49, 30 January 2010 by Dlaor (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax EffectData:SetOrigin( Vector )
Description:
Sets the effects origin (the actual meaning of this differs between effects).
Returns: nil
In Object: CEffectData
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=CEffectData.SetOrigin]CEffectData.SetOrigin [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionSet Origin to the position (0,0,0).
Used onNewerShared.png
Code
local ED = EffectData()
ED:SetOrigin(Vector(0,0,0))
util.Effect("EffectName",ED) 
OutputN/A


Additional Notes

See Also

Stub.pngThis article is a stub.
You can help the GMod Wiki by expanding it.
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox