Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Bomy Island Main Forum (https://forums.graalonline.com/forums/forumdisplay.php?f=80)
-   -   A kwestion (https://forums.graalonline.com/forums/showthread.php?t=18335)

ShockwaveISTHEBEST 12-05-2001 08:49 AM

A kwestion
 
<b><u>I know I didnt post this in the right place but sorry I needed a quick answer and the scripting forums only gets people on very rarely. </b></u>


I was just experimenting with the move command after reading the new features (I went to GoBooms house in real life so he could show me his new system and inventorys they rock, and he instructed me to read it) and I needed to know how you get an npc to move randomly around the screen, could you send me an example script that I can just add to my npcs to make them move. (If you can) thanks

SkooL 12-05-2001 08:51 AM

Re: A kwestion
 
Quote:

Originally posted by ShockwaveISTHEBEST
<b><u>I know I didnt post this in the right place but sorry I needed a quick answer and the scripting forums only gets people on very rarely. </b></u>
No HTML is allowed.

RamiAharonov 12-05-2001 10:02 AM

if (playerenters) {
timeout = .05;
}

if (timeout) {
x=random(0, 64);
y=random(0, 64);
timeout = .05;
}

ShockwaveISTHEBEST 12-05-2001 10:03 AM

I noticed dang:mad:

Faheria_LAT1 12-05-2001 10:32 AM

you forgot a ] in your siggy

Metal-Slug 12-05-2001 10:35 AM

Quote:

Originally posted by RamiAharonov
if (playerenters) {
timeout = .05;
}

if (timeout) {
x=random(0, 64);
y=random(0, 64);
timeout = .05;
}

x = random(0,63)
y = same


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

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