R3vo/Sandbox1 – User
Jump to navigation
Jump to search
mNo edit summary |
m (Replaced content with "for User Interface Event Handlers {{Feature|Warning|Deleting the display or control from within an event handler will crash the game if deleting is not the last line...") Tag: Replaced |
||
Line 1: | Line 1: | ||
for [[User Interface Event Handlers]] | |||
{{Feature|Warning|Deleting the display or control from within an event handler will crash the game if deleting is not the last line in the event handler's script or code. | |||
{{ic|onButtonClick {{=}} "[[ctrlDelete]] ([[_this]] [[select]] 0); [[systemChat]] 'You will never see this';"; {{cc|Will crash the game}}}}<br/><br/> | |||
{{ic|onButtonClick {{=}} "[[systemChat]] 'Bye bye button!'; [[ctrlDelete]] ([[_this]] [[select]] 0);"; {{cc|Works just fine}}}}<br/><br/> | |||
{{ic|onButtonClick {{=}} "[] [[spawn]] { [[ctrlDelete]] ([[_this]] [[select]] 0); [[systemChat]] 'Bye bye button!'; };"; {{cc|Works just fine as well}}}} | |||
}} | |||
= | |||
[[ | |||
[[ | |||
= | |||
[ | |||
[ | |||
[[ | |||
[[ | |||
[[ | |||
[[ | |||
[[ | |||
{| | |||