Divinity Banner
Previous Thread
Next Thread
Print Thread
Mag's Divinity Mod Journal #556136
01/10/14 01:26 AM
01/10/14 01:26 AM
Joined: Aug 2014
Posts: 54
M
Mag Offline OP
journeyman
Mag  Offline OP
journeyman
M

Joined: Aug 2014
Posts: 54
9/30/2014
Rebuilt a system that determines if a player is human or NPC. Primarily used global events to track when each step was done.
Worked fine until the editor started crashing. Backed up the story and level files. Deleted the mod, uninstalled the game and editor.
Reinstalled. Now the IF GlobalEventSet function has stopped catching global events that were set in a previous sub goal. It worked before... I also tried using a DB entry, same result. It appears this subgoal is broken..

Deleted everything except the RawFiles folder under MyMod\Story
Removed the file for the broken subgoal from the raw files. Recreated the subgoal, copy/pasted the code into the subgoal, rebuilt the story but no go. I copied the IF GlobalEventSet statement to the node where the event was set and it worked...

Copy/pasted the rest of the code from the bad subgoal to the ___Start goal. That code worked but the next subgoal isn't executing.

I created a new goal (didn't put it under start) Copy/paste the next set of code there and it worked. So the problem is with subgoals...

Complained about it in the IRC channel. mandar suggested I put Goalcompleted; at the end of the subgoal and it worked. Thanks mandar!

Last edited by Mag; 01/10/14 02:04 AM.
Re: Mag's Divinity Mod Journal [Re: Mag] #556208
01/10/14 10:49 PM
01/10/14 10:49 PM
Joined: Sep 2014
Posts: 29
M
mander Offline
apprentice
mander  Offline
apprentice
M

Joined: Sep 2014
Posts: 29
Glad to help. I am excited to see what you've built when it's all done.


Powered by UBB.threads™ PHP Forum Software 7.6.2