Welcome to the Builder Academy

Question Trigger of the Day - IS_PC Example

More
07 Nov 2012 18:54 #1005 by Rumble
Code:
Name: 'IS_PC Example', VNum: [ 34], RNum: [ 340] Trigger Intended Assignment: Rooms Trigger Type: Command , Numeric Arg: 100, Arg list: target Commands: * By Rumble of The Builder Academy tbamud.com 9091 * Player = 1, mob = 0, object = -1. %echo% %actor.name% is targetting %arg% IS_PC: %arg.is_pc% if %arg.is_pc% == 1 %echo% It is a player. elseif %arg.is_pc% == 0 %echo% It is a mob. else %echo It is an object. 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.193 seconds