Creating visual effects through scripting works much the same way in NWN2 as it did in NWN1. Use EffectVisualEffect() to create an effect, then ApplyEffectToObject() or ApplyEffectAtLocation() to place that effect in the game.
From the official NWN2 Documentation:
"Visual effects are composed of effect files, which are individual components of an effect (a particle system, a trail, a billboard, etc.), and SEF files, which point to the effect files and organize them into a more complex visual effect."
Effect constants start with "VFX_".
Recent comments
2 years 14 weeks ago
2 years 14 weeks ago
2 years 14 weeks ago
2 years 20 weeks ago
2 years 21 weeks ago
2 years 37 weeks ago
2 years 37 weeks ago
2 years 41 weeks ago
2 years 42 weeks ago
2 years 45 weeks ago