dMZX Forums: always rel player - dMZX Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

always rel player can you do it?

#1 User is offline   KirbySSB2 

  • Member
  • PipPip
  • Group: Members
  • Posts: 119
  • Joined: 13-May 02
  • Gender:Male

Posted 08 August 2007 - 12:20 AM

hey all I haven't paid any attention whatsoever to any mzx code related updates for about the last 5 years, is there a way to ALWAYS assume my coords are relative to the player? this would make my global robot about half as big and would save me from typing rel player every 2 seconds. thanks

This post has been edited by KirbySSB2: 08 August 2007 - 12:20 AM

If theres 3 great MZXers in the world, Im not one of them!
0

#2 User is offline   asgromo 

  • steiner, porsches
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 3,841
  • Joined: 04-May 02
  • Gender:Female
  • Location:New York State

Posted 08 August 2007 - 01:04 AM

No

edit: I'd just like to say this is probably my worst post in at least a few days, and a remarkably horrible post in general. I was in a bad mood, and I had a headache, and it was a bad idea to post this.

Just wanted to put that in.

This post has been edited by asgromo: 08 August 2007 - 02:33 AM

0

#3 User is offline   Exophase 

  • Laughing on the inside.
  • Group: DigiStaff
  • Posts: 7,155
  • Joined: 23-October 00
  • Gender:Male
  • Location:Cleveland, OH

Posted 08 August 2007 - 01:54 AM

Use expressions. If you don't know what they are then read the help file.
~ ex0 has a kickass battle engine, without it you sux0rz! without it you sux0rz! ~

"The fact that I say I've one of the best, is called honesty." -Akwende
"Megazeux is not ment to be just ASCII, it is ANSI!" - T-bone6
"I hate it when you get all exo on me." - emalkay

Exophase can what Rubi-cant.
exoware is ware ur ware is exoware
ps. not loking 4 new membrs kthx
0

#4 User is offline   Dr Lancer-X 

  • 電波、届いた?
  • Group: DigiStaff
  • Posts: 8,936
  • Joined: 20-March 02
  • Location:ur mom nmiaow

Posted 08 August 2007 - 11:48 AM

I'll, uh, do my five seconds of community service so I can be nasty to Insidious (who will definitely deserve it, don't you worry) later without tipping my karma at all.

rel to player
put c0f customblock pb1 2 2

becomes
put c0f customblock pb1 "('playerx'+2)" ('playery'+2)"

and
rel to self
if c09 customfloor p?? -3 4 "label"

becomes
if c09 customfloor p?? "('thisx'-3)" "('thisy'+4)" "label"

Get the idea?
Enjoy!
Posted Image
<Malwyn> Yes, yes. Don't worry I'd rather masturbate with broken glass than ask you for help again. :(
0

#5 User is offline   KirbySSB2 

  • Member
  • PipPip
  • Group: Members
  • Posts: 119
  • Joined: 13-May 02
  • Gender:Male

Posted 08 August 2007 - 06:15 PM

cool stuff, thanks a bunch! :)
If theres 3 great MZXers in the world, Im not one of them!
0

#6 User is offline   CHEZZY 

  • sometimes... I dream about cheese
  • PipPipPipPip
  • Group: Members
  • Posts: 996
  • Joined: 08-April 06
  • Location:New Zealand

Posted 09 August 2007 - 04:42 AM

Wow, thats pretty funky. I didnt even know about this.
user posted image
koji: SCRUMTRELLESCENT!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users