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)
|
|
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 |
Beh, I seriously hate my memory laps, I keep forgetting that about Move() taking into consideration... >_>
- 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
|
alrite thanks guys. i have a technique in my game that im going to implement. and it relies on the question i jsut asked
|
Ofcourse you got to take into consideration about dense objects and things of the likes >_>
- GhostAnime