View Single Post
  #9  
Old 06-24-2005, 11:42 PM
Fry Fry is offline
Registered User
Fry's Avatar
Join Date: Sep 2001
Location: Germany
Posts: 384
Fry has a spectacular aura about
Quote:
Originally Posted by Stefan
setlevel2 works the same like always, it converts to precision of 0.5
Hm, well, I've noticed that when I setlevel2 to a position I can't do it to something like 30.5, it always gets rounded down to 30, atleast under these circumstances, haven't got the time now to test it differently, will do tomorrow.
A system NPC triggers grab when pressing A, following code doesn't warp correctly:

function onActionGrab() {
setlevel2("level.nw", 30.5, 30.5);
}

I get sent to 30, 30.

Additionally, check out fry_v4bug.nw on #gscript, setimgpart(i); in NPCs makes the images act weird when moving.
__________________
Graal Statistics

Top 3 servers at the moment (players):