Skip to content

SetPlayerQuestMarker

A player’s own marker for one objective.

A point {x =, y =, z =}, an entity’s id (or {entity = id}), {player = pid} for a player’s body, false for no marker, nil for the definition’s marker again. Other players keep theirs.

SetPlayerQuestMarker(pid, id, objective [, target])
Parameter Type
pid number the player
id number|string the quest’s id or key
objective number the objective’s number, from 1
target table the marker (above) (optional)

boolean, string - accepted; the reason when not

-- each player is sent to their own contact
SetPlayerQuestMarker(pid, ERRAND, 2, {entity = contacts[pid]})

CreateQuest · SetPlayerQuestObjective · the Quests group of the index