Welcome to the Builder Academy

Question PRF: NO_HASS, other such flags, and tba scripts

More
18 Nov 2026 15:54 - 18 Nov 2026 15:55 #11095 by krell
I don't recall if this had been answered in the past, but I can't seem to find anything in my search queries, is there a way to set the triggers to fire, or not, based on the flags found in a player's PRF fields?

I'm trying to resolve a trigger that fires, but fails , on immortals. I'm assuming it's because of the NO_HASS flag, the immortal certainly isn't invisible when this happens, but I see the script outputting "I am targeting . " and repeating until it's looped to the allowed limit of 100.
Last edit: 18 Nov 2026 15:55 by krell.

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

More
18 Nov 2026 20:29 #11096 by thomas
Indeed, the scripts should respect no-hassle. This should mean that they shouldn't fire on no-hassled imms at all, and looping in the room list shouldn't target them either. How does the script look here, because it sounds like a bug.

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

More
19 Nov 2026 04:35 #11097 by krell
It's room trigger 24 in Sanctus, "Room While Teleport Example." I just verified that it fires on Imms with no_hass set on the builder's MUD as well as my local copy.
Code:
315H 100M 146V AFK (news) > tstat 24 Name: 'Room While Teleport Example',  VNum: [   24], RNum: [   24] Trigger Intended Assignment: Rooms Trigger Type: Random Enter , Numeric Arg: 100, Arg list: None Commands: * By Rumble of The Builder Academy    tbamud.com 9091 * Target the first person or mob in the room. eval person %self.people% wait 1 sec *While there are still mobs or people in the room. while %person%   %send% %person% You are next!   %echo% I am targetting %person.name%.   %echoaround% %person% %person.name% is struck by a bolt of lightning. Leaving only a pile of ash.   %teleport% %person% 3   %force% %person% look   eval person %self.people% done

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

Time to create page: 0.243 seconds