Frob action script: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Tels (talk | contribs)
add
 
Tels (talk | contribs)
m fix category
Line 7: Line 7:
   "frob_action_script"        "frob_item"
   "frob_action_script"        "frob_item"


{{spawnargs}}
{{tdmspawnargs}}

Revision as of 09:09, 1 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 put items into the inventory, trigger buttons and lights etc.

Example:

 "frob_action_script"        "frob_item"