Welcome to the Builder Academy

Question Looking for a trigger possibility

More
01 Sep 2025 18:00 #10883 by wlessard1
I am looking at the %drop% function in triggers but it only seems to use object to be dropped.

Is it possible to drop gold, like "drop 1000 coin" or other amount and have it work in a trigger.
Logic path
Drop 1000 coins
Trigger then teleports character to specific room.
If not I will just have to come up with an item to drop but would rather go with the pure gold/coin drop.

Thanks for any info.

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

More
02 Sep 2025 21:15 #10885 by thomas
Am I right thinking you are actually talking about %load% ? I don't recall a %drop% command.
I'd make a pile of coins as an object and then just load that.

For instance object #906 in stock zones:
Code:
#906 coins gold treasure~ a great pile of treasure~ A great, gleaming pile of treasure lies at your feet.~ ~ 20 0 0 0 0 a 0 0 0 0 0 0 0 43500 0 0 0 20 1 0 0

%load% obj 906
The following user(s) said Thank You: wlessard1

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

More
11 Sep 2025 15:02 #10889 by Salty
Code:
#1231 room trigger coin drop test~ 2 h 100 ~ %echo% %actor.name% tries to drop object type: %object.type% if %object.type% == MONEY   if %object.val0% >= 1000     %echo% Thank you for your donation!   else     %echo% No Littering!     return 0   end end ~

This is just a sample but this trigger works for me.
The following user(s) said Thank You: wlessard1

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

More
12 Sep 2025 01:49 #10891 by wlessard1
Thomas, I am trying to make things work for a zone. You drop X coins and are teleported to a different room. So I am hoping I can do that as a room trigger.

Not completely sure what your shorhand means for the top of the trigger.
Name - Coin Drop test
For Room
Type? That is what I am not seeing or following.

The rest looks pretty straight forward though. Just need to tweak it to get it to teleport it seems.

thanks to both of you for the suggestions.

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

More
13 Sep 2025 17:00 #10892 by Salty
Code:
tstat 1231 Name: 'room drop test',  VNum: [ 1231], RNum: [   48] Trigger Intended Assignment: Rooms Trigger Type: Drop , Numeric Arg: 100, Arg list: None Commands: %echo% %actor.name% tries to drop object type: %object.type% if %object.type% == MONEY   if %object.val0% >= 1000     %echo% Thank you for your donation!   else     %echo% No Littering!     return 0   end end
The following user(s) said Thank You: wlessard1

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

More
Yesterday 17:06 #10894 by wlessard1
Figured I was being blind again.
Now I see the "drop" option.

Thanks

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

Time to create page: 0.238 seconds