4 #define particleeffectnum(e) \
5 _particleeffectnum(e.eent_eff_name)
8 #define pointparticles(effect, org, vel, howmany) \
9 Send_Effect(effect, org, vel, howmany)
10 #define trailparticles(e, effect, org, vel) \
11 ((!e) ? Send_Effect(effect, org, vel, 0) \
12 : __trailparticles(e, particleeffectnum(effect), org, vel))
14 #define pointparticles(effect, org, vel, howmany) \
15 __pointparticles(particleeffectnum(effect), org, vel, howmany)
16 #define trailparticles(e, effect, org, vel) \
17 __trailparticles(e, particleeffectnum(effect), org, vel)
21 .string eent_eff_name;
24 .vector eent_net_location;
25 .vector eent_net_velocity;
28 entity Create_Effect_Entity(string eff_name, bool eff_trail)
30 entity this = new(effect_entity);
32 this.eent_eff_name = eff_name;
33 this.eent_eff_trail = eff_trail;