removeToken: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Initial write-up.)
 
m (Corrected version.)
Line 3: Line 3:
|name=removeToken
|name=removeToken
|trusted=true
|trusted=true
|version=1.3b53
|version=1.3b51
|description=
|description=
Removes a token from the current map.
Removes a token from the current map.

Revision as of 03:26, 12 March 2009

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.

removeToken() Function

 Note: This function can only be used in a Trusted Macro

Introduced in version 1.3b51
Removes a token from the current map.

Usage

removeToken(id)

Parameter

  • id - The id of the token to remove.

One caveat, you can remove the impersonated token in a macro but if you do so you must make sure not to use any macro functions that refer to the deleted token or you will cause errors.