I have 3 sprites. How can insert all to appear in the same origin?
I must create 3 TE_FIREFIELD for each sprite? Exist another way? Need an example!
PHP Code:
stock Create_TE_FIREFIELD( origin[3], radius, iSprite, count, flags, duration )
{
message_begin( MSG_BROADCAST,SVC_TEMPENTITY)
write_byte(TE_FIREFIELD)
write_coord(origin[0])
write_coord(origin[1])
write_coord(origin[2])
write_short(radius)
write_short(iSprite)
write_byte(count)
write_byte(flags)
write_byte(duration)
message_end()
// Flags
//#define TEFIRE_FLAG_ALLFLOAT 1 // All sprites will drift upwards as they animate
//#define TEFIRE_FLAG_SOMEFLOAT 2 // Some of the sprites will drift upwards. (50% chance)
//#define TEFIRE_FLAG_LOOP 4 // If set, sprite plays at 15 fps, otherwise plays at whatever rate stretches the animation over the sprite's duration.
//#define TEFIRE_FLAG_ALPHA 8 // If set, sprite is rendered alpha blended at 50% else, opaque
//#define TEFIRE_FLAG_PLANAR 16 // If set, all fire sprites have same initial Z instead of randomly filling a cube.
}