Revision Difference
Global.EffectData#565695
<function name="EffectData" parent="Global" type="libraryfunc">
<description>
Returns a <page>CEffectData</page> object to be used with <page>util.Effect</page>.
<bug issue="2771">This does not create a unique object, but instead returns a shared reference. That means you cannot use two or more of these objects at once.</bug>⤶
<bug issue="2771">This does not create a unique object, but instead returns a shared reference. That means you cannot use two or more of these objects at once.⤶
⤶
This also means that any values previously set will carry over to all future calls of this functions, and may unexpectedly affect effects created via <page>util.Effect</page>.</bug>⤶
</description>
<realm>Shared</realm>
<rets>
<ret name="" type="CEffectData">The <page>CEffectData</page> object.</ret>
</rets>
</function>
Garry's Mod
Rust
Steamworks
Wiki Help