Editing Useful Scripts
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
= GECK = | = GECK = | ||
==Timed Doors== | ==Timed Doors== | ||
Line 321: | Line 302: | ||
end | end | ||
</pre> | </pre> | ||
Line 460: | Line 356: | ||
<small>To be placed on a [[ | <small>To be placed on a [[Quest_Data_Tab|quest]], it will run some code when a key is released. See [http://fose.silverlock.org/fose_command_doc.html#DirectX_Scancodes FOSEs Command Docs] for additional DirectX Scancodes</small> | ||
<pre> | <pre> | ||
ScriptName HotkeyReleased | ScriptName HotkeyReleased | ||
Line 468: | Line 364: | ||
Begin GameMode | Begin GameMode | ||
if IsKeyPressed 25 != sToggle | if IsKeyPressed 25 != sToggle | ||
set sToggle to | set sToggle to sToggle == 0 | ||
if sToggle ;Button pressed | if sToggle ;Button pressed | ||
;Do things when button 'p' is pressed, in this case, decrease karma | ;Do things when button 'p' is pressed, in this case, decrease karma | ||
Line 477: | Line 373: | ||
endif | endif | ||
endif | endif | ||
End | End | ||
</pre> | </pre> |