Announcement: Be excellent to each other.


Caravel Forum : DROD RPG Boards : RPG Bugs : Global script and "Wait for player to move"
New Topic New Poll Post Reply
Poster Message
Dischorran
Level: Smitemaster
Avatar
Rank Points: 2015
Registered: 09-10-2005
IP: Logged

File: Global bug.drh (1.1 KB)
Downloaded 5 times.
License: Public Domain
icon Global script and "Wait for player to move" (+1)  
I've attached a simple test hold with a problem in global scripts. There are two default characters running: one waits for Tendry to move south, reports, and repeats, and the other does the same for moving north, but also has Imperative: Make Script Global. Only the former works; removing the imperative from the latter makes it work as well.

A similar script based on Wait for Monster Engaged in Washed Ashore works fine.

____________________________
Click here to view the secret text

10-31-2008 at 10:58 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 4443
Registered: 02-04-2003
IP: Logged
icon Re: Global script and "Wait for player to move" (0)  
Thanks for reporting this and for the sample hold.

I found that global scripts are not considering the player's actual input command when executing -- they default to thinking the player input a "wait" command.

Fixed in rev 142.

____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.

[Last edited by mrimer at 01-23-2016 12:49 AM]
01-23-2016 at 12:49 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
kieranmillar
Level: Smitemaster
Rank Points: 1608
Registered: 07-11-2014
IP: Logged
icon Re: Global script and "Wait for player to move" (+1)  
Can confirm that the example hold is working correctly in 1.2.3.148 :thumbsup
01-24-2016 at 05:37 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD RPG Boards : RPG Bugs : Global script and "Wait for player to move"
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.