Author Topic: (no subject)  (Read 3750 times)

Blackhart Joe

  • Member
  • *
  • Posts: 57
    • View Profile
    • http://www.angelfire.com/rpg/nowhererpg
(no subject)
« 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
« Last Edit: December 31, 1969, 06:00:00 PM by Blackhart Joe »

Dont_Think_So

  • Member
  • *
  • Posts: 76
    • View Profile
(no subject)
« Reply #1 on: August 10, 2004, 01:01:33 AM »
Hmmm.... #itemlocation otta do it... If not, you should modify their wander program to keep track.
« Last Edit: December 31, 1969, 06:00:00 PM by Dont_Think_So »

Dude Man

  • Member
  • *
  • Posts: 6393
    • View Profile
    • http://dmdgames.mysticsoftware.net//
(no subject)
« Reply #2 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
« Last Edit: August 10, 2004, 06:03:54 PM by Dude Man »
~Welcome back mysticsoftware.net??
The Black Walkway

Zeros'

  • Member
  • *
  • Posts: 1540
    • View Profile
(no subject)
« Reply #3 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.
« Last Edit: December 31, 1969, 06:00:00 PM by Zeros' »
\"Runaway with my heart...
 Runaway with my hope...
 If I could make you mine...I\'ll go whereever you will go.\"

\"So lately, I\'ve been wondering...
 Who will be there to take my place...
 When I\'m gone, You\'ll need love...To light the shadows on your face.\"

\"If a great wave should fall...
 It would fall upon us...
 Well I hope there\'s someone out there...Who can bring me back to you.\"

\"Way up high or down low...I\'ll go wherever you will go.\"

\"Runaway with my love.\"

In your heart and mind, I\'ll stay with you all of time...

Dude Man

  • Member
  • *
  • Posts: 6393
    • View Profile
    • http://dmdgames.mysticsoftware.net//
(no subject)
« Reply #4 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
« Last Edit: August 11, 2004, 09:13:00 AM by Dude Man »
~Welcome back mysticsoftware.net??
The Black Walkway

Dont_Think_So

  • Member
  • *
  • Posts: 76
    • View Profile
(no subject)
« Reply #5 on: August 12, 2004, 01:58:06 PM »
I tend not to use illegal rip-offs of comercial game makers Smile.
« Last Edit: December 31, 1969, 06:00:00 PM by Dont_Think_So »

Dude Man

  • Member
  • *
  • Posts: 6393
    • View Profile
    • http://dmdgames.mysticsoftware.net//
(no subject)
« Reply #6 on: August 12, 2004, 10:16:44 PM »
LOL! Your talking about RPGMaker right?

Yeah there is an RPG Maker for Play Staion.
« Last Edit: December 31, 1969, 06:00:00 PM by Dude Man »
~Welcome back mysticsoftware.net??
The Black Walkway

Spyder

  • Member
  • *
  • Posts: 1695
    • View Profile
    • http://www.mysticsoftware.net
(no subject)
« Reply #7 on: August 13, 2004, 06:43:46 PM »
I'm pretty sure there's an RPGMaker2 for PlayStation 2 as well.
« Last Edit: December 31, 1969, 06:00:00 PM by Spyder »

Dude Man

  • Member
  • *
  • Posts: 6393
    • View Profile
    • http://dmdgames.mysticsoftware.net//
(no subject)
« Reply #8 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!
« Last Edit: December 31, 1969, 06:00:00 PM by Dude Man »
~Welcome back mysticsoftware.net??
The Black Walkway

Xorlak

  • Administrator
  • Member
  • *****
  • Posts: 2225
    • View Profile
    • http://darkagegames.net
(no subject)
« Reply #9 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.
« Last Edit: December 31, 1969, 06:00:00 PM by Xorlak »

Blackhart Joe

  • Member
  • *
  • Posts: 57
    • View Profile
    • http://www.angelfire.com/rpg/nowhererpg
(no subject)
« Reply #10 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
« Last Edit: December 31, 1969, 06:00:00 PM by Blackhart Joe »

Blackhart Joe

  • Member
  • *
  • Posts: 57
    • View Profile
    • http://www.angelfire.com/rpg/nowhererpg
(no subject)
« Reply #11 on: August 14, 2004, 09:57:32 PM »
Oh, I forgot to ask, what's the syntax for #itemlocation?  Is it just #itemlocation(itemnum!)?
« Last Edit: December 31, 1969, 06:00:00 PM by Blackhart Joe »

Colin

  • Member
  • *
  • Posts: 299
    • View Profile
(no subject)
« Reply #12 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.
« Last Edit: December 31, 1969, 06:00:00 PM by Colin »
— Colin

Xorlak

  • Administrator
  • Member
  • *****
  • Posts: 2225
    • View Profile
    • http://darkagegames.net
(no subject)
« Reply #13 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!.
« Last Edit: December 31, 1969, 06:00:00 PM by Xorlak »

Asimir

  • Member
  • *
  • Posts: 333
    • View Profile
(no subject)
« Reply #14 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?
« Last Edit: December 31, 1969, 06:00:00 PM by Asimir »