1)how can i make pets fight on command, like in pokemon?
2)how can i change the level display to powerlevel and make it so that the person adds to their powerlevel each hit?
if you dont know what i means then let me explain further...
i start out with a power level of 1000, i go fight a warrior and each hit adds to my powerlevel by 2.....how can i do that? its essential for my dragonball z mud.
I'm not sure what you mean by "fight on command" as I haven't played Pokemon.
Can you give an example?
As for the powerlevel you could do that with a trigger that calls a small script that adds 2 to a powerlevel number (stored in a variable).
I don't know what the trigger will be, as you haven't said what a "hit" looks like, but the script would look like this:
sub HaveHit (strTriggerName, strLine, arrWildCards)
world.setvariable "powerlevel", world.getvariable ("powerlevel") + 2
end sub
when i say fight on command i mean that the owner of the paet will say something like sparky attack fluffy, and sparky will attack fluffy and the pets will commence in a fight while the owners watch.
I'm not too sure about that. I think you can "charm" pets but I have never done it.
Well don't know if anyone well read this but figured I post it here...
Wouldn't it work if you use the order command and have an if check for rather or not they are a pet if they are the command gets through if not... It doesn't?
I've seen this done on another mud not sure how it's coded but that seems feasible.
Creep
Or would it be possible to have a mob prog on the pets so that when something is said by the owner of the pet it would trigger the pet to do something?
Creep
Throwing out suggestions with my limited coding knowledge! :P
Actually.... You could just create a macro, Pets are permanently charmed so you could just say something outloud and follow it up with a ORDER <PET> to KILL <Critter>.
-Kelsid
P.S. If you are referring to player characters, you will need to comment out the appropraite lines preventing charmed creatures from attacking player characters in the function do_order.