API GetAccomplishmentType

From Vendetta Lua
Jump to navigationJump to 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:
<source lang="lua">local accomtype, accomlevel = GetAccomplishmentType(accomindex)
local description = GetAccomplishmentDescription(accomtype, accomlevel)</source>