Menu

Setd

Brynner

[Category:Script_Command]

Syntax

  • [Setd] "<variable name>",<value>;

Description

Works almost identical as [Set], just that the variable name is identified
as a string, thus can be constructed dynamically.

This command is equivalent to:

set [Getd]("variable name"),&lt;value&gt;;

Examples

set .@mob_id, 1002;
setd ".prize_" + .@mob_id, 911; // sets the value of .prize_1002 to 911

Related

Wiki: Getd
Wiki: Set
Wiki: Setd
Wiki: Variables

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.