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
16 weeks 5 days ago
16 weeks 5 days ago
16 weeks 5 days ago
22 weeks 4 days ago
23 weeks 15 hours ago
39 weeks 3 days ago
39 weeks 5 days ago
43 weeks 6 days ago
44 weeks 1 day ago
47 weeks 22 hours ago