Hello again everyone. Much as I appreciate all the help I've gotten before (same name, without the 2 at the end) I do have a new question now that I really hope someone can help me with.
I'm trying to copy a program I saw on the included haon.are file, using Area Editor. Basically the program is supposed to react (presumably) to the "<name> is DEAD!!" message when someone/thing is killed. Now here's the problem. The program never, and I mean never works for the mob (Froghemoth) even in the un-touched haon.are file when I test it out. I've tried letting the frog kill someone to generate the message, and with myself slaughtering some poor npc while he watches. Makes no difference. The prog never runs.
This is exacly how it's set up:
In the choice of prog type, it is set to: act_prog
in the argument box it says: p is DEAD!!
Then there's the program in the box below that, which itself generates no errors and seems to be fine. I am using a program where I want a mob to loot the corpse and try to wear whatever he finds. That's simple enough. But like I said, I can **NEVER** get the program to execute regardless of whether I use my own or the one that was included with the froghemoth itself. It seems the trigger is somehow invalid, because there is absolutely no reaction to the death of mobs / players / etc.
What is wrong with this that it doesn't work? I would think tha the mob progs in the stock areas would work, but apparently this one does not. Am I missing something, or was there a change in version 1.4a (I have the stock pre-compiled version) that would invalidate this program?
One last thing. I've noticed several if checks which generate errors 100% of the time I try to use them. Do these not function in 1.4a for some reason?
if str/dex/etc.(target)
if hps(target) (Area Editor doesn't recognize this one)
if position(target)
if isaffected(target) Area editor asks for an operator like == and then the name of the affected_by condition. It fails to work in the mud when you do this. Gives an invalid ifcheck error.
if hitprcnt(target) returns invalid ifcheck in Smaug. The hitprcnt_prog trigger does work fine however.
There are others but I can't think of them at the moment.
Any help is greatly appreciated with this.
I'm trying to copy a program I saw on the included haon.are file, using Area Editor. Basically the program is supposed to react (presumably) to the "<name> is DEAD!!" message when someone/thing is killed. Now here's the problem. The program never, and I mean never works for the mob (Froghemoth) even in the un-touched haon.are file when I test it out. I've tried letting the frog kill someone to generate the message, and with myself slaughtering some poor npc while he watches. Makes no difference. The prog never runs.
This is exacly how it's set up:
In the choice of prog type, it is set to: act_prog
in the argument box it says: p is DEAD!!
Then there's the program in the box below that, which itself generates no errors and seems to be fine. I am using a program where I want a mob to loot the corpse and try to wear whatever he finds. That's simple enough. But like I said, I can **NEVER** get the program to execute regardless of whether I use my own or the one that was included with the froghemoth itself. It seems the trigger is somehow invalid, because there is absolutely no reaction to the death of mobs / players / etc.
What is wrong with this that it doesn't work? I would think tha the mob progs in the stock areas would work, but apparently this one does not. Am I missing something, or was there a change in version 1.4a (I have the stock pre-compiled version) that would invalidate this program?
One last thing. I've noticed several if checks which generate errors 100% of the time I try to use them. Do these not function in 1.4a for some reason?
if str/dex/etc.(target)
if hps(target) (Area Editor doesn't recognize this one)
if position(target)
if isaffected(target) Area editor asks for an operator like == and then the name of the affected_by condition. It fails to work in the mud when you do this. Gives an invalid ifcheck error.
if hitprcnt(target) returns invalid ifcheck in Smaug. The hitprcnt_prog trigger does work fine however.
There are others but I can't think of them at the moment.
Any help is greatly appreciated with this.