OnAction (GUI item event)

From modwiki

Jump to: navigation, search

On most item types, called when the user clicks on a GUI item with the mouse.

On editDefs, this is called when the text changes.

On choiceDefs, this is called when the selected option changes.

Example(s)

onAction {
	...
}


Personal tools
Main
id Tech 5