I have a trigger that when the PC and party cross, I want to spawn an effect at a particular location. I have the script set on the trigger's OnEnter event and it clearly fires (from my debug line), but the ActionCastFakeSpellAtObject() doesn't do anything, and my guess is because the trigger isn't a valid Actor to perform an "action" with.
What's the solution here? A scripthidden character? Some other mechanic?
How do I spawn a spell effect without a caster?
Débuté par
ColorsFade
, mars 19 2013 07:21
#1
Posté 19 mars 2013 - 07:21
#2
Posté 19 mars 2013 - 07:36
use an ipoint to cast it.
#3
Posté 19 mars 2013 - 07:51
kamal_ wrote...
use an ipoint to cast it.
I figured that might be it... was about to give that a try. Thanks!
#4
Posté 19 mars 2013 - 09:22
iPoints can have AOE effects in them - iPoints rule
#5
Posté 31 mars 2013 - 02:18
depending on the spell, you could also use EffectVisualEffect(), EffectDamage(), EffectNWN2... etc. to just fake the spell itself on a trigger...(apply effect of spell and visual effect of spell, and it's as if the spell was cast!)
If you use an iPoint, remember to RENAME the ipoint...nothing is more likely to pull a player out of emersion then "iPoint damages Joe the Fighter..." (I tend to name them "Dart Wall" for dart traps from walls, etc.)
There's also InvisibleMan creature appearance, if for some reason a placeable fails.
If you use an iPoint, remember to RENAME the ipoint...nothing is more likely to pull a player out of emersion then "iPoint damages Joe the Fighter..." (I tend to name them "Dart Wall" for dart traps from walls, etc.)
There's also InvisibleMan creature appearance, if for some reason a placeable fails.





Retour en haut






