Welcome to the Builder Academy

Question greet trigger in dark room

More
19 Sep 2017 19:30 #6917 by JTP
Hmmm the mob has infra on, the room is dark....this trigger only fires if the char who enters the room holds a torch.

Is that suppose to be like that ?

Name: 'kobold miner hums', VNum: [12610], RNum: [ 1618]
Trigger Intended Assignment: Mobiles
Trigger Type: Greet , Numeric Arg: 100, Arg list: None
Commands:
wait 1 s
%echo% The kobold miner hums.
wait 15 s

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

More
19 Sep 2017 21:12 #6918 by Parnassus
Start with HELP TRIGGER-TYPES
Then go to HELP TRIGEDIT-MOB-GREET
and then HELP TRIGEDIT-MOB-GREET-ALL

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

More
19 Sep 2017 21:32 #6919 by JTP
Replied by JTP on topic greet trigger in dark room
Tnx greet all worked. But still a mob with infra should be able to see

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

More
19 Sep 2017 23:28 #6920 by WhiskyTest
Sounds like the mob can't see the character.
You can switch into the mob to confirm this.

Other things that will prevent a greet trigger are:
The mob is not awake, mob is fighting, mob is charmed.

If that is all fine, then it comes down to the CAN_SEE macro, this is the only difference between greet and greet-all.
Simplified:
o char invis level is below the mob (mortals should be invis 0)
o mob is not blind
o there is a light in the room OR mob has infravision (stat the mob to confirm)
o character isn't invisible OR mob has detect invis,
o char is not hidden OR mob has sense life..

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

Time to create page: 0.286 seconds