room message oddity

Post new topic   Reply to topic Scripting Questions View previous topic :: View next topic  
Author Message
Cheiron



Joined: 21 Apr 2005
Posts: 388
Location: Copenhagen, Denmark

PostPosted: Fri Nov 03, 2006 7:08 am    Post subject: room message oddity Reply with quote

I have following script in a room... ... here is how it goes: A user clicks a button(containing script underneath here) and a localMsg appears at another spot where an image pops up for the duration of a three part message:

Code:
import manor

msg1 = "@575,145 text1"
msg2 = "@575,145 text2"
msg3 = "@575,145 text3"

def mnr_spothit(spotID):
    manor.setTimer(manor.tickcount()+10, manor.localMsg, msg1)
    manor.setTimer(manor.tickcount()+800, manor.localMsg, msg2)
    manor.setTimer(manor.tickcount()+2000, manor.localMsg, msg3)

    return

It has always worked.... now it doesn't. Here is what happens... first and second message looks like this:



Finally 3rd message looks as it should:



All 3 message texts however pops up in log as they should with the time intervals as specified in script.
Can anyone shed some light? Very Happy
_________________
Cheiron
______________________________
"Any scientist with respect for himself should start
the day by rejecting his own pet hypotheses".
(Konrad Lorenz)

"Wir müssen wissen
Wir werden wissen"
(David Hilbert)


Last edited by Cheiron on Sat Nov 04, 2006 6:38 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Scotsman
Site Admin


Joined: 03 Aug 2004
Posts: 705
Location: MadWolf Software

PostPosted: Fri Nov 03, 2006 11:28 am    Post subject: Reply with quote

arrg, that looks to be a rendering bug in the balloon code. Will have to dupe and chase it down.
Back to top
View user's profile Send private message Visit poster's website
Cheiron



Joined: 21 Apr 2005
Posts: 388
Location: Copenhagen, Denmark

PostPosted: Fri Nov 03, 2006 8:40 pm    Post subject: Reply with quote

I might add that using same script for a single message in a one spot situation (a button user clicks and it should provide a chatballoon with info) doesn't show at all, only the log message.

It is kinda important for navigational and informational guidance, especially if considering new users not in habit of having logwindow open.

Cheers,
_________________
Cheiron
______________________________
"Any scientist with respect for himself should start
the day by rejecting his own pet hypotheses".
(Konrad Lorenz)

"Wir müssen wissen
Wir werden wissen"
(David Hilbert)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic All times are GMT - 6 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum