- Posts: 12
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Parnassus wrote: You've asked something that seems really complicated to me and I don't know your level of experience so some of what I say will seem too easy and some will seem too hard, probably.
I hope this info helps you.
* a small script to make a bomb go off three seconds after it's dropped.
set room_var %actor.room%
* Send a message when the bomb goes off.
wait 3 s
%echo% The Grenade blasts into smithereens, striking everyone here.
* Target the first char
set target_char %room_var.people%
* Do stuff
while %target_char%
* Set the next target before this one perhaps dies.
set tmp_target %target_char.next_in_room%
* This is where the good/bad things are supposed to happen.
%send% %target_char% The explosion hurts you.
%damage% %target_char% 30
* Find next target
set target_char %tmp_target%
* Loop back
done
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
thomas wrote: what does the "top" of the trigger say?
The arguments matter.
tstat 102 or 131 functioning triggers that listens for commands.
About the the (%target.sex% == Male) -check. The %actor.sex% returns either male, female or neutral. The case matters in == checks.
Please Log in or Create an account to join the conversation.
Parnassus wrote: From there, check the trigger type to see if held can be specified, such as:
help trigedit-obj-command
Please Log in or Create an account to join the conversation.
tbaMUD © 2024