Post new topic    
Liquid Metal Slime
Send private message
Reading Item Data 
 PostSat Apr 16, 2011 7:04 pm
Send private message Reply with quote
So you put some stats and weapon pictures for items.

Is there any way to fetch that information back within plotscripts?

The only other alternative that I can think of is faking arrays through a bunch of global variables for each item.
♪♪♪ Du du duuuu ♪♪♪
Liquid Metal Slime
Send private message
 
 PostSat Apr 16, 2011 7:10 pm
Send private message Reply with quote
Maybe have nothing attached to the item at all, but create a separate script to serve as an item reference.
♪♪♪ Du du duuuu ♪♪♪
Slime Knight
Send private message
 
 PostMon Apr 18, 2011 4:04 am
Send private message Reply with quote
I brought this up to James a while back. As of right now, I don't think there is a way to fetch it. You'll probably have to keep all the data in a script for the time being. Sad
Soda Piggy Website
Slime Knight
Send private message
 
 PostMon Apr 18, 2011 11:59 pm
Send private message Reply with quote
Just want to draw attention to the "switch () do (" and "case ()" plotscripting flow control commands for lookups, they make the syntax much simpler.

Mostly bringing this up because I always forget to use them.
Display posts from previous: