delay script?

Post » Fri Nov 27, 2009 12:20 pm

someone know a delay script?
User avatar
Theodore Walling
 
Posts: 3420
Joined: Sat Jun 02, 2007 12:48 pm

Post » Fri Nov 27, 2009 12:32 am

To be honest it depends on the sort of situation you're making a delay for, and you haven't said.
User avatar
Alycia Leann grace
 
Posts: 3539
Joined: Tue Jun 26, 2007 10:07 pm

Post » Fri Nov 27, 2009 1:34 am

someone know a delay script?
If it's a quest:
Int bQuickeningBegin GameMode	If (bQuickening != Criterion)		Set bQuickening to (bQuickening == 0)		If bQuickening			SetQuestDelay ThisQUST 0.01 ; Every frame		Else			SetQuestDelay ThisQUST 0 ; Five second intervals (Default)		EndIf		Return	ElseIf bQuickening		;Fast code	Else		;Slow code	EndIfEnd
Or do you mean you just want it to not run until... something happens?
User avatar
Skivs
 
Posts: 3550
Joined: Sat Dec 01, 2007 10:06 pm

Post » Fri Nov 27, 2009 12:52 pm

If it's a quest:
Int bQuickeningBegin GameMode	If (bQuickening != Criterion)		Set bQuickening to (bQuickening == 0)		If bQuickening			SetQuestDelay ThisQUST 0.01 ; Every frame		Else			SetQuestDelay ThisQUST 0 ; Five second intervals (Default)		EndIf		Return	ElseIf bQuickening		;Fast code	Else		;Slow code	EndIfEnd
Or do you mean you just want it to not run until... something happens?


i want a delay before resurrect an npc
User avatar
Zosia Cetnar
 
Posts: 3476
Joined: Thu Aug 03, 2006 6:35 am

Post » Fri Nov 27, 2009 6:48 am

The quest method is probably what you want. I'd look at the character generation quest (VCG01), it has a delay between most of its stages (to time the doc's lines, that are spoken outside of dialog mode, etc)
User avatar
Amber Ably
 
Posts: 3372
Joined: Wed Aug 29, 2007 4:39 pm


Return to Fallout: New Vegas