Welcome to the Builder Academy

Question Trigger of the Day - Block Mobs except following

More
19 Feb 2014 11:50 #4703 by Rumble
Code:
Name: 'Blocks Mobs Not Following', VNum: [ 26], RNum: [ 26] Trigger Intended Assignment: Rooms Trigger Type: Enter , Numeric Arg: 100, Arg list: None Commands: * By Rumble of The Builder Academy tbamud.com 9091 * This trigger blocks all mobs except those that are following. * If actor is a mob, !is_pc actually means not a PC. if !%actor.is_pc% * If the mob does not have a master. if !%actor.master% * Return 0 prevents the mob from entering. return 0 end end
If this was helpful please vote or leave a review for TBA.

Rumble
The Builder Academy
tbamud.com 9091
rumble@tbamud.com

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

Time to create page: 0.163 seconds