View Single Post
  #7  
Unread 03-20-2005, 07:25 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

Because its not substituting /GameData.Spells.Maintained_1 with the variable value. It sees the slash command and reads the entire thing as a string without translating the variable.

Thus my comment about concatination. So far there's no way to pass both a variable and a string, 2 variables as separate entities, or 2 strings to a single property.

You can make foo = "sometext". Evals as sometext

You can make foo = the value of /GameData.Spells.Maintained_1. Evals as number

You can't make foo = "sometext" + the value of /GameData.Spells.Maintained_1. Evals as sometext

foo = "sometext/GameData.Spells.Maintained_1" evals as sometext/GameData.Spells.Maintained_1

foo = "sometext" + "smoemoretext" evals as sometext

For similar reasons, its impossible to do some math to derive 2 numebrs and pass them to a size or location property as X and Y.
Reply With Quote