effect
Client-side
Server-side
Shared
Element category: Effects
The effect class represents custom effect elements in the game world such as smoke, sparks, fire etc.
OOP Constructor
Effect(...) is the constructor method for the effect class (createEffect).
OOP Methods and Variables
- Effect.addBulletImpact(...)
- Effect.addDebris(...)
- Effect.addBlood(...)
- Effect.addBulletSplash(...)
- Effect.addFootSplash(...)
- Effect.addGlass(...)
- Effect.addGunshot(...)
- Effect.addPunchImpact(...)
- Effect.addSparks(...)
- Effect.addTankFire(...)
- Effect.addTyreBurst(...)
- Effect.addWood(...)
- effect:getDensity(...) Variable: .density
- Effect.addWaterHydrant(...)
- Effect.createParticle(...)
- effect:setDensity(...) Variable: .density
- Effect.addWaterSplash(...)
- effect:getSpeed(...) Variable: .speed
- effect:setSpeed(...) Variable: .speed
See Also
Effects Functions
Effects Elements
- effect