- Joined
- Apr 10, 2007
- Messages
- 4
I'm attempting to create a game and I've found that for my purposes, using the custom script would be a lot faster for creating items. However, I'm having trouble filling the itemName index for my item, I've tried:
Where lv_itemName is a Text variable, and I get an "Implicit cast not allowed" syntax message.
I did edited the item manually through the editor, however it does this:
And I'm not sure how (or rather where) it assigns the Param/Value/#### information. Does anyone know what syntax I should use when assigning a string to a text variable?
Thank you in advance for your help. -JJ
Code:
gv_itemList[lv_category][lv_itemID].lv_itemName = "Cotton Shirt";
Where lv_itemName is a Text variable, and I get an "Implicit cast not allowed" syntax message.
I did edited the item manually through the editor, however it does this:
Code:
gv_itemList[lv_category][lv_itemID].lv_itemName = StringExternal("Param/Value/69248BF5");
And I'm not sure how (or rather where) it assigns the Param/Value/#### information. Does anyone know what syntax I should use when assigning a string to a text variable?
Thank you in advance for your help. -JJ