Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   making player carry objects (https://forums.graalonline.com/forums/showthread.php?t=35040)

emortylone 08-04-2002 08:25 AM

making player carry objects
 
Is there anyway i can make the player carry a object liek a bush through scripts?

AlexH 08-04-2002 08:26 AM

canbecarried

emortylone 08-04-2002 09:05 AM

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.

amonrabr 08-04-2002 12:53 PM

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,;}

BinaryCrash 08-04-2002 01:06 PM

maybe using setani will work. if yes maybe setcharani too
setcharani for others npcs... (showcharacter)

AlexH 08-04-2002 01:08 PM

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.

Python523 08-04-2002 01:11 PM

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

Warcaptain 08-05-2002 02:44 AM

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


All times are GMT +2. The time now is 05:57 AM.

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