te_create_model_trail

Creates a line of moving glow sprites or models with gravity, fadeout, and collisions.

Syntax

stock te_create_model_trail(startpos[3], endpos[3], sprite, count = 1, life = 10, scale = 10, velocity = 10, randomness = 10, receiver = 0, bool:reliable = true) {

Usage

sprite Sprite index
count Number of models/sprites to generate
life The length of time the effect shall remain
scale Scale of the effect
velocity Velocity along vector
randomness Randomness of the velocity
receiver Client index that will be able to see the effect
reliable If true, the message will be sent via the reliable

Return

if "receiver" is non-zero and the client isn't connected,

Notes

Video preview of this and all other te_ stocks can be found here:

Defined in msgstocks.inc at line 1203 . This documentation was automatically generated from source.