This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
triggers:mprog [2014/12/24 03:20] vodur created |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== MobProgs ====== | ||
| - | |||
| - | ^Argument ^Type ^Note | | ||
| - | |mob |[[http://rooflez.com/wiki/index.php?n=Main.CHProperties|CH]] |the mob to whom the script is attached | | ||
| - | |ch |[[http://rooflez.com/wiki/index.php?n=Main.CHProperties|CH]] |the character (if any) that triggered the script | | ||
| - | |trigger |string |see table | | ||
| - | |obj1 |[[http://rooflez.com/wiki/index.php?n=Main.OBJProperties|OBJ]] |see table | | ||
| - | |obj2 |[[http://rooflez.com/wiki/index.php?n=Main.OBJProperties|OBJ]] |see table | | ||
| - | |text1 |string |see table | | ||
| - | |text2 |string |see table | | ||
| - | |victim |CH |see table | | ||
| - | |trigtype |string |see table | | ||
| - | |||
| - | ^[[http://rooflez.com/wiki/index.php?n=Main.MobProgs#|trigtype | ||
| - | {{http://rooflez.com/wiki/pub/sortable/none.gif?nolink&}} | ||
| - | ]] ^[[http://rooflez.com/wiki/index.php?n=Main.MobProgs#|mob | ||
| - | {{http://rooflez.com/wiki/pub/sortable/none.gif?nolink&}} | ||
| - | ]] ^[[http://rooflez.com/wiki/index.php?n=Main.MobProgs#|ch | ||
| - | {{http://rooflez.com/wiki/pub/sortable/none.gif?nolink&}} | ||
| - | ]] ^[[http://rooflez.com/wiki/index.php?n=Main.MobProgs#|trigger | ||
| - | {{http://rooflez.com/wiki/pub/sortable/none.gif?nolink&}} | ||
| - | ]] ^[[http://rooflez.com/wiki/index.php?n=Main.MobProgs#|obj1 | ||
| - | {{http://rooflez.com/wiki/pub/sortable/none.gif?nolink&}} | ||
| - | ]] ^[[http://rooflez.com/wiki/index.php?n=Main.MobProgs#|obj2 | ||
| - | {{http://rooflez.com/wiki/pub/sortable/none.gif?nolink&}} | ||
| - | ]] ^[[http://rooflez.com/wiki/index.php?n=Main.MobProgs#|text1 | ||
| - | {{http://rooflez.com/wiki/pub/sortable/none.gif?nolink&}} | ||
| - | ]] ^[[http://rooflez.com/wiki/index.php?n=Main.MobProgs#|text2 | ||
| - | {{http://rooflez.com/wiki/pub/sortable/none.gif?nolink&}} | ||
| - | ]] ^[[http://rooflez.com/wiki/index.php?n=Main.MobProgs#|victim | ||
| - | {{http://rooflez.com/wiki/pub/sortable/none.gif?nolink&}} | ||
| - | ]] | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogAct|act]] |mob |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??? | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogBribe|bribe]] |mob |briber |amount (in silver) |none |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogDeath|death]] |mob |killer |none |none |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogEntry|entry]] |mob |none |none |none |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogFight|fight]] |mob |target |none |none |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogGive|give]] |mob |giver |object name |object given |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogGreet|greet]] |mob |who entered |none |none |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogGreet|grall]] |mob |who entered |none |none |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogKill|kill]] |mob |attacker |none |none |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogHpcnt|hpcnt]] |mob |opponent |actual percentage |none |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogRandom|random]] |mob |none |none |none |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogSpeech|speech]] |mob |speaker |full text that was said |none |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogExit|exit]] |mob |mover |direction |none |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogExit|exall]] |mob |mover |direction |none |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogDelay|delay]] |mob |none |none |none |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogSurrender|surrender]] |mob |surrenderer |none |none |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogDrbomb|drbomb]] |mob |bomber |none |bomb |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogExbomb|exbomb]] |mob |mob |none |bomb |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogDefeat|defeat]] |mob |victim |none |none |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogSocial|social]] |mob |socialer |name of social |none |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogTry|try]] |mob |tryer |full text of try |none |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogReset|reset]] |mob |none |none |none |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogMpcnt|mpcnt]] |mob |opponent |actual percentage |none |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogSpell|spell]] |mob |caster |spell name |none |none |none |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.MprogCommand?action=edit|command]][[http://rooflez.com/wiki/index.php?n=Main.MprogCommand?action=edit|?]] |mob |commander |command name |none |none |command argument |none |none | | ||
| - | |[[http://rooflez.com/wiki/index.php?n=Main.TimerTrigger|timer]] |mob |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)% | ||
| - | |||
| - | \\ | ||