This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
lua:ch:setresist [2014/12/27 08:25] vodur |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Syntax: | ||
| - | |||
| - | CH:setresist( resist [, value] ) | ||
| - | |||
| - | First argument is a string. See 'res_flags' table for valid values. | ||
| - | |||
| - | Optional second argument is a boolean value determining whether the resist is being set (true) or removed (false). Default is considered true, so the resist is set if no 2nd argument is provided. | ||