Graal Forums

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

LoneAngelIbesu 03-08-2010 01:14 AM

player.carriesbush
 
Does this flag still work? It always seems to return false, even if the player is carrying a bush.

cbk1994 03-08-2010 01:26 AM

Apparently not. You can probably just check the player's GANI (carry/carryidle?).

ffcmike 03-08-2010 06:57 AM

Iirc it's not player.carriesbush, but just carriesbush, and this only works Clientside.

Admins 03-08-2010 01:28 PM

On clientside it's just 'carriesbush', on server-side you can also use player.carriesbush

ffcmike 03-08-2010 02:41 PM

Quote:

Originally Posted by Stefan (Post 1561206)
On clientside it's just 'carriesbush()', on server-side you can also use player.carriesbush

Seems to work Clientside without it being a function :confused:.

WhiteDragon 03-08-2010 04:06 PM

Quote:

Originally Posted by ffcmike (Post 1561219)
Seems to work Clientside without it being a function :confused:.

Or carriesbush; is an implicit function because of GS1. :noob:

Admins 03-09-2010 01:20 AM

Sorry its not a function of course, it's just a function in the engine code (bool carriesbush())

LoneAngelIbesu 03-09-2010 03:46 AM

Thanks, Stefan. :)

if(carriesbush){} works.


All times are GMT +2. The time now is 07:46 PM.

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