if you want to thats ok. i just wanted to know if it's possible to use relative positions instead of EXACT positions.
for instance.
if i had a teleportation technique. and i wanted to appear 3 spaces above and 2 spaces to the right of the position my mob was just in.
as opposed to using EXACT locations like (1,3,5)
ID:166052
Sep 30 2006, 11:21 am (Edited on Sep 30 2006, 10:42 pm)
|
|
In response to GhostAnime
|
|
You could use that and not have to worry about dense objects, I believe.
var/newLoc = locate(src.x+2,src.y+3,src.z) src.Move(newLoc) -Doh |
In response to XxDohxX
|
|
Beh, I seriously hate my memory laps, I keep forgetting that about Move() taking into consideration... >_>
- GhostAnime |
In response to GhostAnime
|
|
if your wondering what move does lmao it wont teleport you if there is a dense atom at the location your are teleporting to =D I am clever
|
In response to Ariku
|
|
alrite thanks guys. i have a technique in my game that im going to implement. and it relies on the question i jsut asked
|
In response to Ariku
|
|
He knows that, yet simply forgot/didn't realize it for a moment and it doesn't take a clever person to know that Move() won't move you to a location with a dense atom in it.
-Exophus |
Ofcourse you got to take into consideration about dense objects and things of the likes >_>
- GhostAnime