This post has been edited by KirbySSB2: 08 August 2007 - 12:20 AM
Page 1 of 1
always rel player can you do it?
#1
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
If theres 3 great MZXers in the world, Im not one of them!
#2
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.
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
#3
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
"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
#4
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.
becomes
and
becomes
Get the idea?
Enjoy!
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!

<Malwyn> Yes, yes. Don't worry I'd rather masturbate with broken glass than ask you for help again. :(
#5
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!
#6
Posted 09 August 2007 - 04:42 AM
Wow, thats pretty funky. I didnt even know about this.

koji: SCRUMTRELLESCENT!
Share this topic:
Page 1 of 1