Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Script behaviour inconsistency on Wait (inconsistency between Global and normal Script on Wait at script start)
New Topic New Poll Post Reply
Poster Message
RuAdam
Level: Master Delver
Rank Points: 157
Registered: 08-24-2004
IP: Logged

File: Global Script Test.hold (1.8 KB)
Downloaded 39 times.
License: Public Domain
icon Script behaviour inconsistency on Wait (0)  
Running DROD 4.0.2.112 I found a bit of inconsistency between Global and normal NPC script startup.

Let's have the following 3 scripts:
1,
Speech "No Wait"

2,
Wait 0
Speech "Wait 0"

3,
Wait 1
Speech "Wait 1"

Let's make a room with 3 NPCs, one for each script. Let's also have 3 global scripts with the same setup.

This is the result:
Before any turns pass:
Global No Wait runs
NPC No Wait runs
Global Wait 0 runs

After 1 turn pass:
NPC Wait 0 runs

After 2 turns pass:
NPC Wait 1 runs
Global Wait 1 runs

Note that my other testing results indicate that global scripts normally run after NPC scripts.

I have attached a small hold to demonstrate what I mean.

Edit: I tested it again in DROD 4.0.3.113 and the results are the same.

[Last edited by RuAdam at 06-10-2013 02:10 PM : Retesting in DROD 4.0.3.113]
05-27-2013 at 01:15 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : Script behaviour inconsistency on Wait (inconsistency between Global and normal Script on Wait at script start)
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.