te_create_bubble_box
Creates alpha sprites or models inside of a box that float upwards.
Syntax
stock te_create_bubble_box(startpos[3], endpos[3], sprite, count = 3, randomness = 0, height = 50, receiver = 0, bool:reliable = true) {
Usage
| 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 |
| reliable | If true, the message will be sent via the reliable |
Return
if "receiver" is non-zero and the client isn't connected,
Notes
A common sprite to use is "sprites/bubble.spr"
Video preview of this and all other te_ stocks can be found here:
Defined in
msgstocks.inc
at line 2373
.
This documentation was automatically generated from source.