Rewarded triggers in some tba rooms

  • jandulio
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 months 5 days ago #10009 by jandulio
Rewarded triggers in some tba rooms was created by jandulio
I've noticed a few "reward" triggers in some rooms, and I understand the trigger code and what they do, but I'm confused as to why & when they are trigged.  For example, this one leading to the dumps in Midgaard.  What is the %object%?  Do I need to retrieve something to get rewarded?  Oh, and what is the 2 h 100?  I think 2 means "world", but unsure of the other 2 arguments.

#3004
Dump - 3030~
2 h 100
~
%send% %actor% You are awarded for outstanding performance.
%echoaround% %actor% %actor.name% has been awarded for being a good citizen.
eval value %object.cost% / 10
...

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

More
10 months 4 days ago #10010 by Rumble
Replied by Rumble on topic Rewarded triggers in some tba rooms
TSTAT 3004 in the game to see the full trigger

Name: 'Dump - 3030', VNum: [ 3004], RNum: [ 808]
Trigger Intended Assignment: Rooms
Trigger Type: Drop , Numeric Arg: 100, Arg list: None
Commands:
%send% %actor% You are awarded for outstanding performance.
%echoaround% %actor% %actor.name% has been awarded for being a good citizen.
eval value %object.cost% / 10
if %value% > 50
set value 50
elseif %value% < 1
set value 1
end
if %actor.level% < 3
nop %actor.exp(%value%)%
else
nop %actor.gold(%value%)%
end
%purge% %object%

Rumble
The Builder Academy
tbamud.com 9091
This email address is being protected from spambots. You need JavaScript enabled to view it.

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

  • jandulio
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 months 4 days ago #10011 by jandulio
Replied by jandulio on topic Rewarded triggers in some tba rooms
Thanks @Rumble

The keyword "drop" is what I needed! TSTAT here I come!

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

Time to create page: 0.154 seconds