Blockescape busted?

Forum Archive - from http://theuniversal.net
Locked
User avatar
morbydvisns
Posts: 1889
Joined: Sun Jan 30, 2005 12:51 am

Blockescape busted?

Post by morbydvisns »

Software:Universal Client
Version Number:
________________________________________________________________________
Location

________________________________________________________________________
Description:
osdcreate(osdlist,"Cave1","A Cavern")
osdSet( "BlockEscape" )

doesn't block escape.
doesn't on osdbuilding either
________________________________________________________________________
Steps to Replicate:
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

could you try it with OSDCreate( OSDWINDOW ... (which seems to work for me). Will check the List thing.
It won't be supported on OSDBuilding - by definition that window is only open when you're near to the accessed building. If you need to do that off a building access event, you can make the building scripted-nowindow and have script fire off an OSDWindow with escape blocked.
User avatar
morbydvisns
Posts: 1889
Joined: Sun Jan 30, 2005 12:51 am

Post by morbydvisns »

cool ill check that one out
User avatar
morbydvisns
Posts: 1889
Joined: Sun Jan 30, 2005 12:51 am

Post by morbydvisns »

Function MapInit($row,$col)
{

osdcreate(OSDWINDOW,"Cave1","A Cavern")
osdadditem(osdminheight,"",350)
osdSet( "BlockEscape" )


esc closed it for me still :/
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

Ah, thats my bad.. i added something to close all active windows when the building window closes (which happens when you press escape) - that bit wasn't checking for the block escape setting.
Fixed 0.68.2
Locked