Jump to content

Home

Creature spawn script problem TSL


newbiemodder

Recommended Posts

I'm trying to spawn an npc on the condition that a certain journal entry has been reached. I have this compiled script but the npc doesn't spawn.

 

code:

void main() {

 

 

if (GetJournalEntry("dagobah")==60){

 

CreateObject( OBJECT_TYPE_CREATURE, "n_gabsnow", GetLocation(GetFirstPC()));

 

}

 

}

 

The GetJournalEntry quest is a completed quest so I don't know if that is causing a problem.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...