theacefes Posted September 20, 2007 Author Share Posted September 20, 2007 ...to no avail. She didn't appear at all. I used a saved game where we hadnt visited AR1000 and my cache was clear. The globals necessary to spawn her are set correctly too. Link to comment
berelinde Posted September 20, 2007 Share Posted September 20, 2007 You've probably been installing and reinstalling this a bunch of times, trying to get it to work. It isn't unusual to have multiple spawns after a reinstallation. If it does it on a fresh install, then you can worry. Link to comment
theacefes Posted September 20, 2007 Author Share Posted September 20, 2007 I'll reinstall the game. Perhaps I can count on squashing more than one bug. I HAVE reinstalled *a lot*. Link to comment
berelinde Posted September 20, 2007 Share Posted September 20, 2007 Alright, this is kind of hacky, but it's going to work. You are spawning the creature for only one purpose: to participate in Sarah's quest. If Sarah isn't in the party, her quest won't start, and there won't be an Anna anyway. With that in mind, you can spawn Anna directly from Sarah's override script using this: IF Global("SarahQuest","GLOBAL",1) Global("AnnaSpawn","GLOBAL",0) AreaCheck("AR1000") THEN RESPONSE #100 CreateCreature("Annna",[xxxx.yyyy],f) //check your syntax, I don't know if this is correct! SetGlobal("SarahQuest","GLOBAL",2) SetGlobal("AnnaSpawn","GLOBAL",1) END Link to comment
theacefes Posted September 20, 2007 Author Share Posted September 20, 2007 Question: Is there a need to set Sarah's Quest Global to 2 in this? You've already got Anna Spawn variable being set to 1. Just wondering. Link to comment
berelinde Posted September 20, 2007 Share Posted September 20, 2007 Nope. I was just doing that because you were earlier. Link to comment
theacefes Posted September 20, 2007 Author Share Posted September 20, 2007 Erm...perhaps someone else's suggestion. But yeah, I'll go ahead and try to stick it directly in her override after i finish this reinstall. I take it I won't need to worry about extending bottom of AR1000 then? Or do I still need to? Link to comment
berelinde Posted September 20, 2007 Share Posted September 20, 2007 No, you won't need to extend the bottom of AR1000 if you are spawning Anna from Sarah's script. If this quest was available whether or not Sarah was in the party you would have to use area scripts to spawn the creatures, but since this quest depends on Sarah's presence, you don't need to do it that way. You can leave it all in her override bcs and you'll be fine. Link to comment
theacefes Posted September 20, 2007 Author Share Posted September 20, 2007 All right I reinstalled, started a brand new game, and put it in Sarah's script. Anna did not spawn. @ berelinde: The other bug I pm'd you about still occurs. Link to comment
jastey Posted September 20, 2007 Share Posted September 20, 2007 Anomen's messenger gets spawned via his script, too, by: CreateCreatureObjectOffScreen("TERL",Myself,0,0,0) // Terl Only thing with this could be that she will be spawning behind a closed door, if Sarah is standing next to one, or something like this. But normally, this should work fine. EDIT: Saw your post. I would so much like to offer my time to have a look at it, because I think what you need now is a second pair of eyes, but I know I won't have time before the weekend. If you'll still have need then let me know! Link to comment
theacefes Posted September 20, 2007 Author Share Posted September 20, 2007 Well, I'm going to try this. Maybe by seeing the entire thing may help. This is Sarah's quest. This is all in Sarah's main script. // Quest IF InParty(Myself) GlobalGT("SarahTalkRomance","GLOBAL",18) Global("GURIENExists","GLOBAL",0) !Global("Chapter","GLOBAL",4) !Global("Chapter","GLOBAL",5) !Global("Chapter","GLOBAL",7) AreaType(CITY) !Exists("GURIEN") THEN RESPONSE #100 SetGlobal("GURIENExists","GLOBAL",1) SetGlobal("SarahQuestComplete","GLOBAL",0) SetGlobal("SarahQuest","GLOBAL",0) CreateCreatureObjectOffScreen("GURIEN",Myself,0,0,0) END This part works. Gurien appears and talks. Sarah's Quest Global is set to 1. // After Gurien's talk IF InParty("K#Sarah") InParty(Player1) !ActuallyInCombat() Global("SarahQuest","GLOBAL",1) THEN RESPONSE #100 Dialogue(Player1) SetGlobal("SarahQuestWait","GLOBAL",0) SetGlobal("SarahQuestTalk","GLOBAL",0) END This works as well. Basically Sarah expresses her disdain for having to participate in this quest and asks the PC to help her. / / Anna Spawn IF Global("SarahQuest","GLOBAL",1) Global("AnnaSpawn","GLOBAL",0) AreaCheck("AR1000") THEN RESPONSE #100 CreateCreature("ANNA",[2256.1354],7) SetGlobal("AnnaSpawn","GLOBAL",1) END This is the Anna spawning script. This part does not work. // After Quest Complete IF InParty("K#Sarah") InParty(Player1) !ActuallyInCombat() Global("SarahQuest","GLOBAL",4) THEN RESPONSE #100 Dialogue(Player1) END After talking to Anna, the party will obtain an item, which they will bring back to Gurien, who will take the item and say thanks and some other stuff and leave. This script has Sarah tell the PC thanks afterwards. Link to comment
berelinde Posted September 20, 2007 Share Posted September 20, 2007 Out of curiosity, what is the name of the CRE? Link to comment
theacefes Posted September 20, 2007 Author Share Posted September 20, 2007 The name of the CRE is Anna. However, with CamDawg's help I was able to find the source of the bug (the quest global wasnt actually set to 1) and take care of it. 1 bug down, 1 to go! Link to comment
jastey Posted September 21, 2007 Share Posted September 21, 2007 For occasions where she doesn't spawn, what does CLUAConsole:GetGlobal("SarahQuest","GLOBAL") give?That's why I suggested checking. Well, good it's solved. Link to comment
theacefes Posted September 21, 2007 Author Share Posted September 21, 2007 Other bug squished as well, in case anyone was wondering. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.