Welcome to the Builder Academy

Question Trigger of the Day - Quarter Flip

More
04 Nov 2013 16:35 #4460 by Rumble
Code:
Name: 'Obj Command quarter flip example', VNum: [ 37], RNum: [ 459] Trigger Intended Assignment: Objects Trigger Type: Command , Numeric Arg: 2, Arg list: flip Commands: * By Rumble of The Builder Academy tbamud.com 9091 * Numeric Arg: 2 means in character's carried inventory * does not work for level 32 and above. if coin /= %arg% || quarter /= %arg% %echoaround% %actor% %actor.name% flips a coin high up into the air. %send% %actor% You flip the coin up into the air. switch %random.2% case 1 %echo% The coin falls to the ground, bounces, rolls, and ends up showing heads! break case 2 %echo% The coin falls to the ground, bounces, rolls, and ends up showing tails! break default %echo% The coin falls on its edge and balances perfectly. break done else %send% %actor% flip What? 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.153 seconds