Welcome to the Builder Academy

Question stop kill trigger

More
22 Apr 2018 18:18 #7978 by JTP
stop kill trigger was created by JTP
Hey

Anyone who ever made a trigger to prevent people from killing a mob...i know there are settings in medit..

But i would like it to also say something differently.

Please Log in or Create an account to join the conversation.

More
27 Apr 2018 09:38 #7988 by WhiskyTest
Replied by WhiskyTest on topic stop kill trigger
Triggers aren't my forte but...
What about teleporting the player out and back into the room?

Please Log in or Create an account to join the conversation.

More
27 Apr 2018 09:40 #7989 by JTP
Replied by JTP on topic stop kill trigger
Would prefere a Way so If they type: kill mayer

They get a message from the mayer, and fighting never begins.

Please Log in or Create an account to join the conversation.

More
27 Apr 2018 10:18 #7990 by WhiskyTest
Replied by WhiskyTest on topic stop kill trigger
Well, this stops a player from typing 'hit', but they can still 'kill', 'bash', 'kick' etc so I don't think it is going to be very useful..

Name: 'No combat', VNum: [18600], RNum: [ 1135]
Trigger Intended Assignment: Mobiles
Trigger Type: Command , Numeric Arg: 100, Arg list: hit
Commands:
%echo% Nope.

Please Log in or Create an account to join the conversation.

More
28 Apr 2018 19:23 #7993 by JTP
Replied by JTP on topic stop kill trigger
Well the problem is not solved :(

Please Log in or Create an account to join the conversation.

More
28 Apr 2018 19:44 - 28 Apr 2018 19:52 #7994 by krell
Replied by krell on topic stop kill trigger
If you're using triggers, can't you use 'Arg list:: +' to glob any commands the player enters and then use the variable %cmd.mudcommand% to circumvent the action on the mob normally taken by the MUD? I'm not sure if this can be attached to a mob though.

Code:
> help mudcommand MUDCOMMAND CMD.MUDCOMMAND %CMD.MUDCOMMAND% %MUDCOMMAND% CMD.MUDCOMMAND Used to match text to existing commands in the MUD. This will also match any abbreviations. * check for command sit with arg chair. Also matching any abbreviations. if %cmd.mudcommand% == sit && chair /= %arg% && %arg% Examples: TSTAT 81, 52, 62 >
Last edit: 28 Apr 2018 19:52 by krell.

Please Log in or Create an account to join the conversation.

Time to create page: 0.567 seconds