Mystic Software Forums
Mystic Software => General Discussion => Topic started by: Blackhart Joe on August 08, 2004, 02:34:24 AM
-
I need to get the x,y location of an item that's been moving around the board; any ideas as to how I can do that? It's entirely possible that it's really simple and I just didn't notice
any help is highly appreciated
-
Hmmm.... #itemlocation otta do it... If not, you should modify their wander program to keep track.
-
Yeah, that would work. You chould also do a shit load of #ifs or such, you know like...
#if (itemlocation = 1,1)
(
#GiveGP(100000)
)
#if (itemlocation = 5,5)
(
#TakeGP(100000)
)
The command above will most likely not work, for it is only an exsample
-
I gave up on TK. So yeah...if I started getting bored and making games, Ill use RM2k3 or RM2k.
-
Traitior! Zeros' is a traitor! Your just like Tosoto! TREASON! TREASON!
I'm okay.... :mellow: ....
Nothing is wrong with RM, I've never used it, but there might be a reason to that. Razz
-
I tend not to use illegal rip-offs of comercial game makers Smile.
-
LOL! Your talking about RPGMaker right?
Yeah there is an RPG Maker for Play Staion.
-
I'm pretty sure there's an RPGMaker2 for PlayStation 2 as well.
-
Most likey. If there is I should tell my oldest brother about it he has a PS2. But PS2 can still play PS1 games so I guess I'll tell him about that one. The PS RM is pretty good but I here it's about as Felixible as a steal rod!
-
I need to get the x,y location of an item that's been moving around the board; any ideas as to how I can do that? It's entirely possible that it's really simple and I just didn't notice
any help is highly appreciated
#itemlocation might work for the initial location, but it might not update if the item moves. If that's the case, you'll have to increment/decrement variables everytime the item takes a step.
-
#itemlocation might work for the initial location, but it might not update if the item moves. If that's the case, you'll have to increment/decrement variables everytime the item takes a step.
I was afraid of that... Guess I'll need to run a test to see if #itemlocation updates
Thanks
-
Oh, I forgot to ask, what's the syntax for #itemlocation? Is it just #itemlocation(itemnum!)?
-
Item location actually returns variables directly from the itmMem() structures, so yes, it will always be correct.
-
Oh, I forgot to ask, what's the syntax for #itemlocation? Is it just #itemlocation(itemnum!)?
#ItemLocation(itemnum!, x!, y!, layer!)
The location will be returned in the variables x!, y!, and layer!.
-
The PS RM is pretty good but I here it's about as Felixible as a steal rod!
You mean you can make better games at higher temperatures?
-
LOL, sure why not! Wink