Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Changing levels via links (https://forums.graalonline.com/forums/showthread.php?t=57193)

ApothiX 01-21-2005 12:47 AM

Changing levels via links
 
I am writing a movement system and moving the player by modifying their x and y values, but I can't seem to go through level links like this. Is there something special I have to do, like a 'canwarp2' for players?

DarkShadows_Legend 01-21-2005 01:31 AM

I searched around before for something that allowed me to get values of level links, but unfortunately nothing. :( I don't think there is anything right now that is like what you are asking. Maybe in the new gscript there is?

You might have to use a gmap for your overworld since it acts as one level. Not entirely sure if this info helps.

Tolnaftate2004 01-21-2005 01:37 AM

If you're using freezeplayer, that's probably why.
I haven't had a problem with disabledefmovement and going through links.

Evil_Trunks 01-21-2005 03:09 AM

it will definitely work if you are using disabledefmovement;

many servers do this

ApothiX 01-21-2005 03:52 AM

I'm not using the arrow keys to go through, I'm using a click-move system :/

Gman4pwnu 01-21-2005 04:08 AM

you can still use disable def movement for a click-move :\

ApothiX 01-21-2005 05:07 AM

It will enable me to go through links by changing playerx and playery? o_O

Projectshifter 01-24-2005 12:13 AM

Quote:

Originally Posted by ApothiX
It will enable me to go through links by changing playerx and playery? o_O

Apparently they're saying that freezeplayer doesn't allow you to change levels, but as far as I've ever done anything movement, if your character is touching a level link and the x/y changes, then you warp. It is not keyed to the default movement system (some servers redo movement and it works out fine) Disabledefmovement is what you'll want to use.

TB3 01-24-2005 12:54 AM

I had a similar problem , try disabledefmovement as prescribed above , also a weird bug with movement system , if you have something say , gp boots or speed boots whatever , and your on a gmap hold ctrl while walking in a direction , post what happens k ? XD Tell me thats not weird XD


All times are GMT +2. The time now is 07:40 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.