Shattered Kingdoms https://www.shatteredkingdoms.org/forums/ |
|
Prompts https://www.shatteredkingdoms.org/forums/viewtopic.php?f=21&t=13480 |
Page 9 of 9 |
Author: | FinneyOwnzU [ Mon Oct 07, 2013 10:05 am ] |
Post subject: | Re: Prompts |
EDIT - use these triggers instead: #TRIGGER {Your current combat stance is (*).} {#VARIABLE stance %1} #TRIGGER {Your stance is now (*).} {#VARIABLE stance %1} #TRIGGER {~[HP:(*)~] ~[ME:(*)~] ~[PE:(*)~]} {#SUB {%ansi(purple)~[%ansi(gray)HP:%ansi(blue,hi)%1%ansi(purple)~] %ansi(purple)~[%ansi(gray)ME:%ansi(red,hi)%2%ansi(purple)~] %ansi(purple)~[%ansi(gray)PE:%ansi(yellow,hi)%3%ansi(purple)~] %ansi(gray)~(%ansi(cyan,hi)@stance%ansi(gray)~)}} |
Author: | MsPooperTrooper [ Mon Oct 07, 2013 11:22 am ] |
Post subject: | Re: Prompts |
That's exactly what I was trying to do, only I was using the wrong part of the prompt to trigger it I guess. Thanks so much! |
Author: | FinneyOwnzU [ Mon Oct 07, 2013 11:37 am ] |
Post subject: | Re: Prompts |
EDIT - use these triggers instead: #TRIGGER {Your current combat stance is (*).} {#VARIABLE stance %1} #TRIGGER {Your stance is now (*).} {#VARIABLE stance %1} #TRIGGER {~[HP:(*)~] ~[ME:(*)~] ~[PE:(*)~]} {#SUB {%ansi(purple)~[%ansi(gray)HP:%ansi(blue,hi)%1%ansi(purple)~] %ansi(purple)~[%ansi(gray)ME:%ansi(red,hi)%2%ansi(purple)~] %ansi(purple)~[%ansi(gray)PE:%ansi(yellow,hi)%3%ansi(purple)~] %ansi(gray)~(%ansi(cyan,hi)@stance%ansi(gray)~)}} |
Author: | FinneyOwnzU [ Mon Oct 07, 2013 12:02 pm ] |
Post subject: | Re: Prompts |
I wrote a trigger that will create a variable to capture your character's current stance - it will then substitute the default prompt with an exact duplicate (color scheme, etc.) that includes stance information. If you use a custom prompt, you will need to post the format and when I get time I will modify the trigger to work with it. #TRIGGER {Your current combat stance is (*).} {#VARIABLE stance %1} #TRIGGER {Your stance is now (*).} {#VARIABLE stance %1} #TRIGGER {~[HP:(*)~] ~[ME:(*)~] ~[PE:(*)~]} {#SUB {%ansi(purple)~[%ansi(gray)HP:%ansi(blue,hi)%1%ansi(purple)~] %ansi(purple)~[%ansi(gray)ME:%ansi(red,hi)%2%ansi(purple)~] %ansi(purple)~[%ansi(gray)PE:%ansi(yellow,hi)%3%ansi(purple)~] %ansi(gray)~(%ansi(cyan,hi)@stance%ansi(gray)~)}} Enjoy. This is how it looks in the game: Code: A legionnaire drill instructor is here.
[HP:100%] [ME: 98%] [PE:100%] (aggressive) > Someone replies 'OOC: Nice' [HP:100%] [ME: 98%] [PE:100%] (aggressive) > mood neutral Your stance is now neutral. [HP:100%] [ME: 98%] [PE:100%] (neutral) > w You run west. The Kytar Barracks This is a long, sterile-looking building, with no furnishings other than a double row of bunks and footlockers, which form an aisle down the center. The outer walls are of blank stone - part of the camp's fortifications. The inner ones are of rough hewn timbers, and have narrow slits cut in them, giving you a limited view of the central courtyard. Obvious exits: e w A legionnaire drill instructor is here. [HP:100%] [ME: 98%] [PE: 96%] (neutral) |
Page 9 of 9 | All times are UTC - 8 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |