I don't know if anyone has ever made something like that and will it be accepted or not, but it's no waste trying. I want this topic to be a place where you can ask short questions about modding.
Gah, let me start then ^^
In my mod, after we defeat two thieves, they run into dimension door and a new creature is created in AR1002 (guy named Maztec)
IF
Global("CreateMaztec","GLOBAL",1)
THEN
RESPONSE #100
SetGlobal("CreateMaztec","GLOBAL",2)
SetGlobal("MageComes","GLOBAL",1)
CreateCreature("MAZTEC",[895.670],0) // Maztec
SetGlobalTimer("MageAttacks","GLOBAL",200)
END
This script from above works perfectly.
Where shall I place that one from below if I want it to work to wherever outdoor BG II area we go ?
IF
GlobalTimerExpired("MageAttacks","GLOBAL")
Global("MageComes","GLOBAL",1)
THEN
RESPONSE #100
SetGlobal("MageComes","GLOBAL",2)
CreateCreatureObject("Zalanr",Myself,0,0,0) // Zalan Rot
ActionOverride("Zalanr",MoveToObject([PC]))
END
This script is supposed to create a mage named Zalan Rot after 8 hours (game time) from killing two thieves. I want him to appear just in front of PC. I'm pretty sure I did something wrong, but can't get what.
Hm, well it's not that short question as I thought it would be ...