User Tools

Site Tools


triggers:mprog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
triggers:mprog [2015/01/07 06:15] – vodurtriggers:mprog [2026/10/14 01:03] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== MobProgs ====== 
  
- 
- 
-^Script Argument ^Type ^Note | 
-|ch |[[:lua:ch:members|CH]] |the character (if any) that triggered the script | 
-|trigger |string |see table | 
-|obj1 |[[:lua:obj:members|OBJ]] |see table | 
-|obj2 |[[:lua:obj:members|OBJ]] |see table | 
-|text1 |string |see table | 
-|text2 |string |see table | 
-|victim |[[:lua:ch:members|CH]] |see table | 
-|trigtype |string |see table | 
- 
-The actual mob to whom the script is attached can be referenced in the script through '**mob**' global variable (type [[:lua:ch:members|CH]]).  
- 
-^trigtype ^ch ^trigger ^obj1 ^obj2 ^text1 ^text2 ^victim | 
-|[[:triggers:mprog:act|act]] |triggering character or nil |full text of the act that triggered the prog |primary object if any |secondary object if any |text1 arg if any |text2 arg if any |the mob if it is the victim of the act, always the mob??? | 
-|[[:triggers:mprog:bribe|bribe]] |briber |amount (in silver) |none |none |none |none |none | 
-|[[:triggers:mprog:death|death]] |killer |none |none |none |none |none |none | 
-|[[:triggers:mprog:entry|entry]] |none |none |none |none |none |none |none | 
-|[[:triggers:mprog:fight|fight]] |target |none |none |none |none |none |none | 
-|[[:triggers:mprog:give|give]] |giver |object name |object given |none |none |none |none | 
-|[[:triggers:mprog:greet|greet]] |who entered |none |none |none |none |none |none | 
-|[[:triggers:mprog:greet|grall]] |who entered |none |none |none |none |none |none | 
-|[[:triggers:mprog:kill|kill]] |attacker |none |none |none |none |none |none | 
-|[[:triggers:mprog:hpcnt|hpcnt]] |opponent |actual percentage |none |none |none |none |none | 
-|[[:triggers:mprog:random|random]] |none |none |none |none |none |none |none | 
-|[[:triggers:mprog:speech|speech]] |speaker |full text that was said |none |none |none |none |none | 
-|[[:triggers:mprog:exit|exit]] |mover |direction |none |none |none |none |none | 
-|[[:triggers:mprog:exit|exall]] |mover |direction |none |none |none |none |none | 
-|[[:triggers:mprog:delay|delay]] |none |none |none |none |none |none |none | 
-|[[:triggers:mprog:surrender|surrender]] |surrenderer |none |none |none |none |none |none | 
-|[[:triggers:mprog:drbomb|drbomb]] |bomber |none |bomb |none |none |none |none | 
-|[[:triggers:mprog:exbomb|exbomb]] |mob |none |bomb |none |none |none |none | 
-|[[:triggers:mprog:defeat|defeat]] |victim |none |none |none |none |none |none | 
-|[[:triggers:mprog:social|social]] |socialer |name of social |none |none |none |none |none | 
-|[[:triggers:mprog:try|try]] |tryer |full text of try |none |none |none |none |none | 
-|[[:triggers:mprog:reset|reset]] |none |none |none |none |none |none |none | 
-|[[:triggers:mprog:mpcnt|mpcnt]] |opponent |actual percentage |none |none |none |none |none | 
-|[[:triggers:mprog:spell|spell]] |caster |spell name |none |none |none |none |none | 
-|[[:triggers:triggers:mprog:command|command ]] |commander |command name |none |none |command argument |none |none | 
-|[[:triggers:timer|timer]] |none |none |none |none |none |none |none | 
- 
-ACT notes:\\ 
-Occasions of secondary object:\\ 
--bomb exploding in a container\\ 
--extracting\\ 
--put in and get from container\\ 
--compare 
- 
-Occasions of text1:\\ 
--text of a ventriloquate seen 3rd person.\\ 
--immortal bamfin/bamfout 
- 
-Occasions of text2:\\ 
--person in room scanning (direction)\\ 
--person in the room practicing a skill. (skill name)% 
- 
-\\ 
triggers/mprog.1420611359.txt.gz · Last modified: by vodur