Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   haeving a proebleom (https://forums.graalonline.com/forums/showthread.php?t=3210)

Fai 05-20-2001 03:29 AM

haeving a proebleom
 
help me

suppose i have onwall and stuff

actually 2 onwall things.

well it is hard to explain

but if i have...

if (onwall(playerx+2,playery+3)&&timeout) playery-=1;
if (onwall(playerx+.5,playery+3)&&timeout) playery-=1;

one of dem dont work right.

is there soemtheieing wroeng?

Cyboars 05-20-2001 03:40 AM

{} is missing for one thing..

Fai 05-20-2001 03:47 AM

yuo doent need {}

Cyboars 05-20-2001 04:09 AM

try it, it might work, if not, dont blame me, i'm a person without any ability to script whatsoever.
my scripting ability is currently:
if (playerenters){setani idle,gani;}

Fai 05-20-2001 04:33 AM

I need more help.

I did something, and it uses freezeplayer, to freeze the player, then uses keydowns to move the player around. But I can't go into new levels :(

Thak2 05-20-2001 04:55 AM

yes, unfourtanetly freezeplayer does not allow players to warp when they hit warping links... so use disabledefmovement; instead, it will work better.


All times are GMT +2. The time now is 09:03 PM.

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