We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This global function should allow VScript to dispatch arbitrary client effects with parameters.
DispatchEffect(string EffectName, table CEffectData)
All of the available effect data parameters should be the ones usable from effect_dispatch_data.h
Example usage:
// Spawn a Mutated Bread on the server host DispatchEffect("TFBoltImpact", { m_vOrigin = Vector(0, 0, 0) m_vNormal = Vector(0, 0, 0) m_hEntity = GetListenServerHost() m_nAttachmentIndex = 0 m_nMaterial = 0 m_nHitBox = GetListenServerHost().entindex() m_nDamageType= 0 m_nSurfaceProp = 0 m_fFlags = 28 m_nColor = 0 })
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
This global function should allow VScript to dispatch arbitrary client effects with parameters.
DispatchEffect(string EffectName, table CEffectData)
All of the available effect data parameters should be the ones usable from effect_dispatch_data.h
Example usage:
The text was updated successfully, but these errors were encountered: