No luck, seems the code just does not run as I get no end turn message, here the OnFailToOpen script:
#include "laby_vars"
#include "laby_turn_funcs"
void main(){
oPC = GetPlaceableLastClickedBy();
oArea = GetArea(oPC);
FloatingTextStringOnCreature("Your turn is over.", oPC, FALSE);
endTurn();
SoundObjectPlay(GetObjectByTag(GetLocalString(oArea, snd_HITWALL)));
DragonsTurn();
}
Modifié par Calgacus, 22 septembre 2010 - 04:38 .