Token ID

Thoughts, Help, Feature Requests, Bug Reports, Developing code for...

Moderators: dorpond, trevor, Azhrei

Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior. :)
Post Reply
catnap63
Kobold
Posts: 2
Joined: Thu Aug 27, 2020 2:07 pm

Token ID

Post by catnap63 »

Is there a way to change or set a token ID? I used in macros a PC token ID and accidentally deleted token. Looking back now I know how to fix macros so this will not be an issue in future. I just want to finish the current module before I fix a bunch of macros and looking for a quick bandage. Thanks.

User avatar
wolph42
Winter Wolph
Posts: 9999
Joined: Fri Mar 20, 2009 5:40 am
Location: Netherlands
Contact:

Re: Token ID

Post by wolph42 »

no that is not possible. and using hard coded ID's in macro code (which i presume from your post, you're doing ) is bad practice cause IRC the id's can change under certain circumstances. Usually you refer to their name in hard code. In other cases when its a relative reference (e.g. getSelected()) it's good practice to work with token id's.

catnap63
Kobold
Posts: 2
Joined: Thu Aug 27, 2020 2:07 pm

Re: Token ID

Post by catnap63 »

Thanks. I figured there wasn't. Was just looking for a quick fix until I get some time to rewrite the macros. Thanks again.

Post Reply

Return to “MapTool”