Graal Forums  

Go Back   Graal Forums > PlayerWorlds > Bomy Island Main Forum
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-27-2001, 09:22 AM
FxChiP FxChiP is offline
Registered User
Join Date: Mar 2001
Location: Pittsburgh, PA
Posts: 451
FxChiP is on a distinguished road
Send a message via ICQ to FxChiP Send a message via AIM to FxChiP
Here's a nice script for that purpose..

This should work, I read one of the new newfeatures.txts...

So here it goes!

Let's say it's a horse-racing script for NORMAL horses.

Make one NPC (Race Coordinator or something) like this:

if (playertouchsme && playeronhorse) {
set HorseTimerApproved;
}

Then:

if (HorseRaceApproved) {
toweapons -HorseTimer;
timereverywhere;
timeout=.1;
}

if (timeout) {
if (FxLapsRun < 3) {
this.FxTimer+=.1;
timeout=.1;
}
else {destroy;}
}

And a script to detect the laps and add to the Lap counter

if (playertouchsme) {
dontblock;
drawoverplayer;
FxLapsRun+=1;
if (FxLapsRun == 3) {
hide;
}
}

I've heard that the new server doesn't like timeouts, though... hopefully, the timeout loop will work.

There should be a way to set variables only locally. But that script should work for G2K1.

Behind the toweapons -HorseTimer info: I read the newfeatures, and it said that putting a - before the weapon name will hide it from the weapons list.

Should work.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:00 PM.


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