.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Scenarios and Mods (http://forum.shrapnelgames.com/forumdisplay.php?f=130)
-   -   time code bug (http://forum.shrapnelgames.com/showthread.php?t=35688)

sgqwonkian August 8th, 2007 10:51 PM

time code bug
 
I have a device in a mod that uses this code - the text and file names have been changed to retard mod spoilage http://forum.shrapnelgames.com/images/smilies/smirk.gif -

DATA



PAGE 0

ACTN popup endquest

TITL example concept

GFXP items/l_life1.jpg 1

TEXT Would you like to spend 3 months doing something fun?
YSNO 1 -1
END PAGE


PAGE 1
REMV dv_thing
ITEM ps_person
SCOR 100 other
TIME 90

END PAGE



END DATA

Here's the problem:

Whenever you click on the use button, it pauses the game.

When paused, you can't travel to another world, the map snaps back into place when you try to scroll, and of course it looks for all the world like the item failed to use the 90 days of time it's programmed for.

This really threw me for a loop the first time - I thought the game had frozen/hung, so I used Force Quit to get back to the desktop and tried debugging the code.

So, a question for Fingers (or anyone else who knows the mod codes better than I do)... Is there something wrong with my device code above? What's making it pause, and how can I make it stop?

The melodium conograph doesn't pause the game like that, for example, so I know it's possible for my item to not do it either.

Fingers August 9th, 2007 09:12 PM

Re: time code bug
 
I think this may be caused by the endquest action on the first page. That would end the quest, yet it's waiting for the yes/no input from the player. Try moving that to the second page.


All times are GMT -4. The time now is 02:23 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.