Announcement: Be excellent to each other.


Caravel Forum : DROD RPG Boards : RPG Bugs : _MyName does not reflect variables
New Topic New Poll Post Reply
Poster Message
Xindaris
Level: Smitemaster
Avatar
Rank Points: 1798
Registered: 06-13-2015
IP: Logged
icon _MyName does not reflect variables (+1)  
Normally, putting "$variablename$" into a text string inserts the value of that variable into the string. This doesn't work with _MyName, and possibly other variables? It just acts like the variable is 0.

For example, see the following code:
  Set var "_MyATK" = 1
  Speech "$_MyATK$",Normal,Self,0,.
  Set var "_MyName" : +$_MyATK$ Potion

It should result in a name of "+1 Potion", but instead the name is "+0 Potion". The speech command correctly says "1" and not "0".

____________________________
109th Skywatcher

Here are some links to Things!
Click here to view the secret text


[Last edited by Xindaris at 08-23-2025 05:41 PM]
08-23-2025 at 05:40 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
kieranmillar
Level: Smitemaster
Rank Points: 3965
Registered: 07-11-2014
IP: Logged
icon Re: _MyName does not reflect variables (+1)  
08-23-2025 at 07:37 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD RPG Boards : RPG Bugs : _MyName does not reflect variables
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.9
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.