Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-26-2005, 08:53 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
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.
__________________
V$:CONFL16T
Reply With Quote
  #2  
Old 07-26-2005, 09:31 PM
Benm00t Benm00t is offline
I made a tree!
Benm00t's Avatar
Join Date: Jul 2003
Location: The Intarwebbernetwork!
Posts: 987
Benm00t is on a distinguished road
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.
__________________
Lag is a good thing. Only those without it complain.

~ Ben
Reply With Quote
  #3  
Old 07-27-2005, 02:22 PM
ZeroTrack ZeroTrack is offline
G2K1 Developer
ZeroTrack's Avatar
Join Date: Apr 2004
Location: LongIsland, NY
Posts: 402
ZeroTrack is on a distinguished road
Send a message via AIM to ZeroTrack
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
__________________

Reply With Quote
  #4  
Old 07-27-2005, 04:42 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
What would be the point?
__________________
Reply With Quote
  #5  
Old 07-27-2005, 06:12 PM
ChibiChibiLuc ChibiChibiLuc is offline
Cookie Monster. :3
Join Date: Jan 2005
Location: Nova Scotia, Canada
Posts: 111
ChibiChibiLuc is on a distinguished road
Send a message via AIM to ChibiChibiLuc Send a message via MSN to ChibiChibiLuc
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.
Reply With Quote
  #6  
Old 07-27-2005, 08:19 PM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
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.
Reply With Quote
  #7  
Old 07-27-2005, 09:00 PM
kenyonandelliot kenyonandelliot is offline
Registered User
Join Date: May 2002
Posts: 1,017
kenyonandelliot is on a distinguished road
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;
}

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 07:25 PM.


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