Splash  
About WOCNews, Help, etc.Build AreasContributor CreditsUseful Links

Login

    BlobbieScript

    Features
    Expressions
    Operators
    Variables
    Resolutions
    Functions
    Triggers
    Examples

    Print Manual
BlobbieScript - Triggers
  

Many events in the game can be be caught by various event handlers. These event handlers are known as triggers since they trigger some kind of functionality when the event occurs. There are three entity types that can trigger an event. These entities are rooms, mobiles, and objects. Some event types can be triggered by multiple entity types, such as the random event. Most triggers will run an associated script; however, the text ones will merely present some text to player that cause the trigger to fire. Additionally there are a few types that don't do either and are for hacking in special functionality such as the set_skill trigger. Following are the lists of events that apply for each entity type:


Mobiles Objects
adj_sound
catch_act_act
catch_ask_act
catch_ask_text
catch_death_act
catch_enter_game
catch_entry_act
catch_examine_act
catch_exit_act
catch_give_act
catch_identify_act
catch_level_up
catch_practice_act
catch_say_act
catch_say_text
catch_script_call
catch_signal_act
catch_social_act
catch_speech_act
catch_speech_text
catch_talk
catch_tell_act
catch_weapon_strike
check_can_enter
check_can_exit
custom_command_act
custom_mobile_prompt
custom_mobile_status
fight_act
if_inroom
on_area_load
on_entry
on_exit
on_hour_of_day
on_immortal_goto_enter
on_immortal_goto_exit
on_load
on_location_change
on_real_hour_of_day
on_tick
on_zone_load
on_zone_unload
preempt_death_act
random_act
set_affect2
set_skill
set_teach
spec_proc
trigger_assignment
adj_sound
catch_act_act
catch_death_act
catch_dispel
catch_drop_act
catch_enter_game
catch_entry_act
catch_examine_act
catch_exit_act
catch_get_act
catch_get_from_act
catch_identify_act
catch_level_up
catch_list_affect
catch_put_into_act
catch_remove_act
catch_room_affect_show
catch_say_act
catch_script_call
catch_show_affect
catch_signal_act
catch_social_act
catch_speech_act
catch_talk
catch_use_act
catch_weapon_strike
catch_wear_act
check_board_permissions_act
check_can_enter
check_can_exit
check_can_put_into
custom_command_act
custom_equipment_location
custom_mobile_examine_info.source
custom_mobile_prompt
custom_mobile_status
fight_act
if_inroom
on_area_load
on_eaten
on_entry
on_exit
on_expire
on_hour_of_day
on_immortal_goto_enter
on_immortal_goto_exit
on_immortal_goto_qsave
on_load
on_location_change
on_real_hour_of_day
on_tick
on_weapon_strike
on_zone_load
on_zone_unload
preempt_death_act
random_act
spec_proc
trigger_assignment
Rooms  
adj_sound
catch_act_act
catch_death_act
catch_enter_game
catch_entry_act
catch_examine_act
catch_exit_act
catch_level_up
catch_say_act
catch_script_call
catch_signal_act
catch_social_act
catch_speech_act
catch_talk
catch_weapon_strike
check_can_enter
check_can_exit
custom_command_act
custom_mobile_prompt
custom_mobile_status
dream_for_world
dream_for_continent
dream_for_area
dream_for_zone
dream_for_room
fight_act
on_area_load
on_hour_of_day
on_load
on_real_hour_of_day
on_tick
on_zone_load
on_zone_unload
preempt_death_act
random_act
spec_proc
trigger_assignment
 


The Worlds of Carnage MUD is a non-profit, fantasy oriented, text-based game that is played over telnet. We are devoted to providing a social medium in which people can have fun while immersing themselves in a game that reads like a book. You can connect by clicking here or if that fails then here. This site is maintained and hosted by Robert Cummings, A.K.A Blobule and is powered by InterJinn, a PHP based multi-tier application framework connected to a MySQL backend and served via an Apache web server. The Worlds of Carnage are often recognized via the following aliases: Carnage; WoC; WoC MUD; Carnage MUD; CarnageMUD; WoCMUD. All submissions become the property of Robert Cummings where the submitter holds copyright. If you do not want to give ownership, then do not submit.