Detecting when a portal is moved or clicked: Difference between revisions

From Planimate Knowledge Base
Jump to navigation Jump to search
(Importing text file)
 
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<font face="Arial">Portals have object options '''<font face="Arial">Clickable During Run</font>'''<font face="Arial"> and '''<font face="Arial">Moveable During Run </font>'''which causes them to respond to clicks and drags. They send the following scoped broadcast to their subsystem which the modeller can intercept:
Portals have object options '''Clickable During Run''' and '''Moveable During Run '''which causes them to respond to clicks and drags. They send the following scoped broadcast to their subsystem which the modeller can intercept:
 
 
_portal clicked<br /> _portal moved<br />'''<br /> '''<font face="Arial">These will set the following item attributes if they are defined for the class which sends the broadcast:<br /><br /> _x : x position of mouse<br /> _y : y position of mouse<br /> _buttons : which button was clicked, 1 = left, 2 = right<br /> _panel : panel ID of panel where the interaction occured.
----




_portal clicked<br /> _portal moved<br />'''<br /> '''<font face="Arial">These will set the following item attributes if they are defined for the class which sends the broadcast:<br /><br /><font face="Courier New"> _x : x position of mouse<br /> _y : y position of mouse<br /> _buttons : which button was clicked, 1 = left, 2 = right<br /> _panel : panel ID of panel where the interaction occured.




</font></font></font></font>
<font size="2">idkbase note 100</font>
----
 
[[Category:Object/Portal]]
[[Category:Object/Portal]]
[[Category:Interaction (User)]]
[[Category:Interaction (User)]]
[[Category:Broadcast/System]]
[[Category:Broadcast]]
[[Category:Spatial Network]]
[[Category:Spatial Network]]
[[Category:Release Note]]
<font size="2">idkbase note 100</font>

Latest revision as of 13:25, 12 January 2008

Portals have object options Clickable During Run and Moveable During Run which causes them to respond to clicks and drags. They send the following scoped broadcast to their subsystem which the modeller can intercept:


_portal clicked
_portal moved

These will set the following item attributes if they are defined for the class which sends the broadcast:

_x : x position of mouse
_y : y position of mouse
_buttons : which button was clicked, 1 = left, 2 = right
_panel : panel ID of panel where the interaction occured.




idkbase note 100