Aller au contenu

Photo

Greater Dispelling & Mordekainens Disjunction


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
WhenTheNightComes

WhenTheNightComes
  • Members
  • 27 messages
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.

#2
Shadooow

Shadooow
  • Members
  • 4 471 messages
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

#3
WhenTheNightComes

WhenTheNightComes
  • Members
  • 27 messages
Thank you!