Jump to content

CRE won't spawn


theacefes

Recommended Posts

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...