User Tools

Site Tools


lua:ch:qset

This is an old revision of the document!


Set quest-state for player

Syntax1:
qset(argument[string])
Where argument has the format: '[victim] [id] [value] [timer{optional}] [limit{optional}]'
Accepts format arguments.

Syntax 2:
qset( target[CH], id[string/number], value[number] {, timer[number} {,limit{number})

Notes: id can be a vnum format or relative vnum format (e.g r123).

Examples:
mob:qset("%s 31404 3 0", ch.name)

mob:qset(ch, 31404, 3)

lua/ch/qset.1419667153.txt.gz · Last modified: 2014/12/27 07:59 by vodur