PLEASE HELP!!!! Using Gyser to create a HP bar
Re: PLEASE HELP!!!! Using Gyser to create a HP bar
You don't capture any info from it, you can just use 'return isPrompt()' to make your trigger to off on a prompt (which is terribly useful when these can be customized, change depending on the context and so on).
Re: PLEASE HELP!!!! Using Gyser to create a HP bar
Well if this array of talent cant get a trigger firing I'll be beyond amazed. Just need some input from the original poster.
Mapper of Bedlam
Re: PLEASE HELP!!!! Using Gyser to create a HP bar
Alright. Attached is a .zip file containing the correct trigger. Install it via the Package Manager on your Mudlet toolbar. And replace it with your old trigger. Went into your MUD and tested it myself so it works great
The problem (if it wasn't the trigger capture) is that your current_health and max_health are strings and setValue requires numbers as arguments. That's why it wasn't updating your gauge.
The problem (if it wasn't the trigger capture) is that your current_health and max_health are strings and setValue requires numbers as arguments. That's why it wasn't updating your gauge.
- Attachments
-
- Prompt Capture.zip
- (656 Bytes) Downloaded 411 times
-
- Posts: 17
- Joined: Fri Jan 17, 2014 12:07 am
Re: PLEASE HELP!!!! Using Gyser to create a HP bar
IT works!!!!
Thanks Akayan for the fix!
as Akaya said, anyone else with a similar problem you need to make sure that your variables are tonumber() so that the gauge is not attempting to compare two strings.
Thanks Akaya!!
if anyone else needs some help with him, feel free to message me i will help you with what ive learned if i can
thanks!
Thanks Akayan for the fix!
as Akaya said, anyone else with a similar problem you need to make sure that your variables are tonumber() so that the gauge is not attempting to compare two strings.
Thanks Akaya!!
if anyone else needs some help with him, feel free to message me i will help you with what ive learned if i can
thanks!
Re: PLEASE HELP!!!! Using Gyser to create a HP bar
Just curious, I assume it was a pattern issue? What pattern did you ultimately use?
Re: PLEASE HELP!!!! Using Gyser to create a HP bar
I'd assume it was a pattern problem, but just to rule everything out, I made it myself in his MUD:
Re: PLEASE HELP!!!! Using Gyser to create a HP bar
it might have been he never used the tonumber(matches[2]) etcAkaya wrote:I'd assume it was a pattern problem, but just to rule everything out, I made it myself in his MUD:
-
- Posts: 17
- Joined: Fri Jan 17, 2014 12:07 am
Re: PLEASE HELP!!!! Using Gyser to create a HP bar
i did have it in there, it looks there is a space after the > i did not have that in the script, but i could have sworn i tried it