Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Questions (https://forums.graalonline.com/forums/showthread.php?t=60178)

WanDaMan 07-26-2005 08:53 PM

Questions
 
Two questions.

One:
Is there a way to set the horses food? I mean so that they don't have to eat bushes they're automatically fast when you hop on them

Two:
My script doesn't work, I'm using addtiledef2. I'm trying to make it so when you enter the level it shows also when you reconnect.
NPC Code:
// NPC made by Makaveli Acheron
//#CLIENTSIDE
if(created || playerenters){
addtiledef2 blasphemy_snow-tiles.gif,#L,0,0;
}


I've used other versions of this and none of them work.

Any help I'm greatfull, thanks.

Benm00t 07-26-2005 09:31 PM

Quote:

Originally Posted by WanDaMan
Two questions.

One:
Is there a way to set the horses food? I mean so that they don't have to eat bushes they're automatically fast when you hop on them

I don't think so, but that'd be a good idea for something to be added.

ZeroTrack 07-27-2005 02:22 PM

Quote:

Originally Posted by WanDaMan
Is there a way to set the horses food? I mean so that they don't have to eat bushes they're automatically fast when you hop on them

Well you could script your own horse ;)

xAndrewx 07-27-2005 04:42 PM

What would be the point?

ChibiChibiLuc 07-27-2005 06:12 PM

I forum PM'd him.

horses[id].bushes is the variable for a horse's bushes.
I'm pretty sure -1 is the horse being ridden, but if not, he could set the bushes of the horse when it's layed.

Lance 07-27-2005 08:19 PM

Quote:

Originally Posted by WanDaMan
Two questions.

One:
Is there a way to set the horses food? I mean so that they don't have to eat bushes they're automatically fast when you hop on them

Two:
My script doesn't work, I'm using addtiledef2. I'm trying to make it so when you enter the level it shows also when you reconnect.
NPC Code:
// NPC made by Makaveli Acheron
//#CLIENTSIDE
if(created || playerenters){
addtiledef2 blasphemy_snow-tiles.gif,#L,0,0;
}


I've used other versions of this and none of them work.

Any help I'm greatfull, thanks.

Quote:

Originally Posted by rules
5) Don't post your questions in a thread that is dedicated to another problem - post only questions closely related to the problem. Others may be considered offtopic and deleted. Two problems belonging to the same project do not make them related in a way that effects posting there.

Please pay heed to them.

kenyonandelliot 07-27-2005 09:00 PM

Quote:

Originally Posted by WanDaMan
Two:
My script doesn't work, I'm using addtiledef2. I'm trying to make it so when you enter the level it shows also when you reconnect.
NPC Code:
// NPC made by Makaveli Acheron
//#CLIENTSIDE
if(created || playerenters){
addtiledef2 blasphemy_snow-tiles.gif,#L,0,0;
}


have you tried

NPC Code:
//#CLIENTSIDE
if(created || playerenters){
addtiledef2 blasphemy_snow-tiles.gif,,0,0;
}



All times are GMT +2. The time now is 02:15 PM.

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