Difference between revisions of "SteppingStone(Script)"
Jump to navigation
Jump to search
(Created page with "{{CoffeeMUDWikiBuilderTOC}} = Step Stone = This script can be placed on a room or an item. When a player types the words "STEP STONE" or "STEP ON STONE" or "PUSH STONE", the...") |
|||
Line 36: | Line 36: | ||
=Notes= | =Notes= | ||
*You probably need a catch in here in case the stone has been activated within the past 5 ticks to prevent multiple panels from spawning. | *You probably need a catch in here in case the stone has been activated within the past 5 ticks to prevent multiple panels from spawning. | ||
+ | |||
+ | [[Category:UurDin(Scripter)]] |
Latest revision as of 13:35, 17 September 2024
CoffeeMUD |
---|
Administrator Builder Player |
=CoffeeMUD Builder Information= | |||
---|---|---|---|
Basics | Praetor Player Support Commands Zapper Masks | Advanced | Races Classes Abilities Socials Scripting |
Building | Behaviors Properties Areas Rooms Exits Items Mobs | Systems | Achievements Crafting Help Info Ships Planes of Existence Quests Triumphs |
Step Stone
This script can be placed on a room or an item. When a player types the words "STEP STONE" or "STEP ON STONE" or "PUSH STONE", the system would normally return a HUH message, but the script cancels that message, and instead runs the scripted commands (in this specific case, transferring the player to another area). The portal only stays open for 5 ticks before it is destroyed.
- You must create a GenPortal item called "a sliding stone panel lies partially open" and save it in an admin room for this script to work properly.
Step Stone
cnclmsg_prog HUH p step on stone mpcallfunc LoadStone return cancel ~ cnclmsg_prog HUH p step stone mpcallfunc LoadStone return cancel ~ cnclmsg_prog HUH p push stone mpcallfunc LoadStone return cancel ~ function_prog LoadStone mpecho With a loud grinding noise, the stone shifts down below your foot. mpecho A stone panel in the wall slides partially open. mpoloadroom a sliding stone panel lies partially open mpalarm 5 mpecho You hear another grinding noise as the mechanism releases. mpalarm 5 mpecho The stone rises a bit above floor level again. mpalarm 5 mppurge a sliding stone panel lies partially open ~
Notes
- You probably need a catch in here in case the stone has been activated within the past 5 ticks to prevent multiple panels from spawning.