Frob action script: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
m (fix category)
No edit summary
 
Line 1: Line 1:
The '''frob_action_script''' [[spawnarg]] specifies a [[Scripting|script]] that is run when the user highlighted the item and presses the Frob key.
The '''frob_action_script''' [[spawnarg]] specifies a [[Scripting|script]] that is run when the user highlighted the item and presses the Frob key.


This is for instance used to put items into the inventory, trigger buttons and lights etc.
This is for instance used to open doors, trigger buttons and lights etc.


Example:
Example:

Latest revision as of 05:55, 3 November 2008

The frob_action_script spawnarg specifies a script that is run when the user highlighted the item and presses the Frob key.

This is for instance used to open doors, trigger buttons and lights etc.

Example:

 "frob_action_script"        "frob_item"