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 08-04-2002, 08:25 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
making player carry objects

Is there anyway i can make the player carry a object liek a bush through scripts?
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote
  #2  
Old 08-04-2002, 08:26 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
canbecarried
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #3  
Old 08-04-2002, 09:05 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
I guess i wasn't clear anough.
Ok, i want it like, i fire the weapon, once its fired, the player carries a bush.
I dont wont a NPC to be carried.
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote
  #4  
Old 08-04-2002, 12:53 PM
amonrabr amonrabr is offline
Scripter
Join Date: Nov 2001
Location: Brazil
Posts: 374
amonrabr is on a distinguished road
I think its the best you can do:
setplayerprop #p3,bushitem.png;
replaceani idle,carrystill;
replaceani walk,carry;
if(keypressed&&keydown(6)){
replaceani idle,idle;
replaceani walk,walk;
setplayerprop #p3,;}
Reply With Quote
  #5  
Old 08-04-2002, 01:06 PM
BinaryCrash BinaryCrash is offline
No memory dump.
Join Date: Jul 2002
Location: Brazil
Posts: 70
BinaryCrash is on a distinguished road
Send a message via ICQ to BinaryCrash Send a message via MSN to BinaryCrash
maybe using setani will work. if yes maybe setcharani too
setcharani for others npcs... (showcharacter)
Reply With Quote
  #6  
Old 08-04-2002, 01:08 PM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
Use canwarp also.
That way you don't have to make it an NPC in the players inventory.
I don't think ganis would work though, not sure.
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #7  
Old 08-04-2002, 01:11 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by AlexH
Use canwarp also.
That way you don't have to make it an NPC in the players inventory.
I don't think ganis would work though, not sure.
canwarp is only for database npcs, no need to waste one with a bush
ganis would work, just script it so when you press a, it uses a shoot projectile with the current image above your head
Reply With Quote
  #8  
Old 08-05-2002, 02:44 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Quote:
Originally posted by Python523

canwarp is only for database npcs, no need to waste one with a bush
ganis would work, just script it so when you press a, it uses a shoot projectile with the current image above your head
not just pressing A

if gani not == carrying ganis it shoots || keydown a
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:41 PM.


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