Frob action script: Difference between revisions
From The DarkMod Wiki
Jump to navigationJump to search
add |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
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 | This is for instance used to open doors, trigger buttons and lights etc. | ||
Example: | Example: | ||
Line 7: | Line 7: | ||
"frob_action_script" "frob_item" | "frob_action_script" "frob_item" | ||
{{ | {{tdmspawnargs}} |