API GetAccomplishmentType

From Vendetta Lua
Jump to: navigation, search

GetAccomplishmentType

Definition:
GetAccomplishmentType(int accomindex, char) -> int accomplishmenttype int accomplishmentlevel
Description:
returns some numbers..
Arguments:
accomindex index of the accomplishment
char charid of character whose accomplishment to look up
Returns:
accomplishmenttype type of accomplishment
accomplishmentlevel what level the accomplishment is, starting at 1.

Example:

local accomtype, accomlevel = GetAccomplishmentType(accomindex)<br>
local description = GetAccomplishmentDescription(accomtype, accomlevel)