Mystic Software Forums

Mystic Software => General Discussion => Topic started by: Blackhart Joe on August 08, 2004, 02:34:24 AM

Title: (no subject)
Post 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
Title: (no subject)
Post by: Dont_Think_So on August 10, 2004, 01:01:33 AM
Hmmm.... #itemlocation otta do it... If not, you should modify their wander program to keep track.
Title: (no subject)
Post by: Dude Man on August 10, 2004, 06:03:18 PM
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
Title: (no subject)
Post by: Zeros' on August 11, 2004, 12:49:34 AM
I gave up on TK. So yeah...if I started getting bored and making games, Ill use RM2k3 or RM2k.
Title: (no subject)
Post by: Dude Man on August 11, 2004, 09:12:11 AM
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
Title: (no subject)
Post by: Dont_Think_So on August 12, 2004, 01:58:06 PM
I tend not to use illegal rip-offs of comercial game makers Smile.
Title: (no subject)
Post by: Dude Man on August 12, 2004, 10:16:44 PM
LOL! Your talking about RPGMaker right?

Yeah there is an RPG Maker for Play Staion.
Title: (no subject)
Post by: Spyder on August 13, 2004, 06:43:46 PM
I'm pretty sure there's an RPGMaker2 for PlayStation 2 as well.
Title: (no subject)
Post by: Dude Man on August 13, 2004, 07:55:38 PM
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!
Title: (no subject)
Post by: Xorlak on August 14, 2004, 07:02:03 PM
Quote from: "Blackhart Joe"
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.
Title: (no subject)
Post by: Blackhart Joe on August 14, 2004, 09:47:54 PM
Quote from: "Xorlak"
#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
Title: (no subject)
Post by: Blackhart Joe on August 14, 2004, 09:57:32 PM
Oh, I forgot to ask, what's the syntax for #itemlocation?  Is it just #itemlocation(itemnum!)?
Title: (no subject)
Post by: Colin on August 14, 2004, 11:21:40 PM
Item location actually returns variables directly from the itmMem() structures, so yes, it will always be correct.
Title: (no subject)
Post by: Xorlak on August 15, 2004, 10:53:18 AM
Quote from: "Blackhart Joe"
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!.
Title: (no subject)
Post by: Asimir on August 16, 2004, 06:05:33 PM
Quote from: "Dude Man"
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?
Title: (no subject)
Post by: Dude Man on August 16, 2004, 10:04:15 PM
LOL, sure why not!  Wink