MTARGETSET -=mobproc command=- -=mtargetset <char | obj> <string>=- This command is used in SPC_MOBPROC mobs. It is used to manually set a mob's character target or object target, without letting the mob try to target it itself. For example: ... mtargetset char Vall mtargetset obj sword mif tarcharroom { poke +C grin +C } mif tarobjroom { get +O say I like to play with my +O. grin } ... In the above example, the mob has its %6character target%0 manually set to 'Vall'. Its %6object target%0 is set to 'sword'. It then runs a couple %6mif%0 tests using those targets. (See wizhelp mif for more info about %6mif%0) + substitution characters: The +C and +O substitution characters you see above are the two main substitution characters available in mobprocs right now. (Also the only two :P). +C : substitutes mob's %6character target%0 for +C +O : substitutes mob's %6object target%0 for +O Note: It is not useful to use subs _unless_ you are sure those subs will be meaningful. It's always wise to run an %6mif%0 test before you use a sub. Refer again to the above example and note how before +C is ever used, mob does an %6mif tarcharroom%0 before it tries to sub for +C. In other words, it makes sure that Vall is in the room before it tries to use his name. It doesn't hurt not to use these safe checks, and in certain circumstances, you don't really want to, but it's usually wise to do so. Similar commands: MTARGET