Welcome to the Builder Academy

Question Trigger of the Day - Mob Entry Example

More
08 Mar 2013 04:24 #1587 by Rumble
Code:
Name: 'Mob Entry Example', VNum: [ 68], RNum: [ 68] Trigger Intended Assignment: Mobiles Trigger Type: Entry , Numeric Arg: 100, Arg list: None Commands: * By Rumble of The Builder Academy tbamud.com 9091 * First find the room the mob is in and put the value in %inroom% eval inroom %self.room% * then check on the rooms vnum if %inroom.vnum% == 33 say I, %self.name%, declare this room Rumble's. end eval person %inroom.people% wait 1 sec * While there are still people in the room. while %person% %echo% I am targetting %person.name%. * Target the next person in the room. eval person %person.next_in_room% done
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.201 seconds