Jump to content

Quest Script Delay


Soolie

Recommended Posts

I need a bit of help with a mod im making.

I only started doing quests a few days ago and i havnt done much scripting before .

Anyway in the mod i have someone knocking on a door then i want a message box to pop up

but i need a delay between when they start knocking on the door and the message box, maybe 1.5 seconds

any help would be appreciated.

Link to comment
Share on other sites

Something like:

 

float timer

 

Begin GameMode

 

if (<knock on door> )

Set timer to ( timer + GetSecondsPassed)

 

if (Timer >= 1.5 )

<show dialog box>

endif

 

endif

 

end

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...