Hello! How do I make these two spells trigger the OnSpellCastAt script of a door? It didn't seem to work when targetting the ground.
Greater Dispelling & Mordekainens Disjunction
Débuté par
WhenTheNightComes
, févr. 18 2013 04:24
#1
Posté 18 février 2013 - 04:24
#2
Posté 18 février 2013 - 05:23
you would have to edit the spells' spellscripts because they does not affect doors in this mode at all
to do that, look at wiki for a script name, open it in toolset and find lines
oTarget = GetFirstObjectInShape(SHAPE_SPHERE, RADIUS_SIZE_LARGE, lLocal, FALSE, OBJECT_TYPE_CREATURE | OBJECT_TYPE_AREA_OF_EFFECT | OBJECT_TYPE_PLACEABLE );
and
oTarget = GetNextObjectInShape(SHAPE_SPHERE, RADIUS_SIZE_LARGE,lLocal, FALSE, OBJECT_TYPE_CREATURE | OBJECT_TYPE_AREA_OF_EFFECT | OBJECT_TYPE_PLACEABLE);
and add a "|OBJECT_TYPE_DOOR" into the last parameters
to do that, look at wiki for a script name, open it in toolset and find lines
oTarget = GetFirstObjectInShape(SHAPE_SPHERE, RADIUS_SIZE_LARGE, lLocal, FALSE, OBJECT_TYPE_CREATURE | OBJECT_TYPE_AREA_OF_EFFECT | OBJECT_TYPE_PLACEABLE );
and
oTarget = GetNextObjectInShape(SHAPE_SPHERE, RADIUS_SIZE_LARGE,lLocal, FALSE, OBJECT_TYPE_CREATURE | OBJECT_TYPE_AREA_OF_EFFECT | OBJECT_TYPE_PLACEABLE);
and add a "|OBJECT_TYPE_DOOR" into the last parameters
#3
Posté 18 février 2013 - 06:45
Thank you!





Retour en haut






