te_create_bubble_box

Синтаксис

stock te_create_bubble_box(startpos[3], endpos[3], sprite, count = 3, randomness = 0, height = 50, receiver = 0, bool:reliable = true)

Употреба

startpos
Start position
endpos
End position
sprite
Sprite index
count
Number of sprites to generate (0 - 255)
randomness
Randoness of the floating direction
height
Float height
receiver
Client index that will be able to see the effect
or 0 for all clients
reliable
If true, the message will be sent via the reliable
channel, otherwise it will use the unreliable one

Описание

Creates alpha sprites or models inside of a box that float upwards.

Забележка

A common sprite to use is "sprites/bubble.spr"

Забележка

Video preview of this and all other te_ stocks can be found here:
https://youtu.be/szW-bSMPuyQ?t=9m22s

Връщаща стойност

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