Graal Forums

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

TESTRETIS 11-28-2003 10:03 PM

canbecarried serverside
 
is there a way to make an object canbecarried serverside and make it not appear as a bush to other players? also when i do put it serverside if im the leader and pick it up i throw it as soon as i pick it up. Is this a bug or is there another way of doing it :confused:

Alexander 11-29-2003 10:09 AM

You have to script it, #P3 of carry.gani is what item you are carrying.

TESTRETIS 11-29-2003 09:03 PM

alright ill try that out :D makes sense
ill just use like
canbecarried
if (carried)
setani carry,,,image.png;
like that?

Python523 11-29-2003 09:07 PM

Quote:

Originally posted by TESTRETIS
alright ill try that out :D makes sense
ill just use like
canbecarried
if (carried)
setani carry,,,image.png;
like that?

#P != #p

ForgottenLegacy 11-29-2003 09:59 PM

NPC Code:

setplayerprop #P3,whatever you want as the carry image;


Alexander 11-30-2003 01:13 PM

Quote:

Originally posted by ForgottenLegacy
NPC Code:

setplayerprop #P3,whatever you want as the carry image;


you forgot one big thing that would make that work :o

ForgottenLegacy 12-01-2003 01:46 AM

Quote:

Originally posted by Alexander

you forgot one big thing that would make that work :o

And you are always the one to point out my errors. I left out the setani part so I wouldn't be breaking the rule about posing complete scripts to help people.

MrGannondorf 12-01-2003 07:45 AM

Intresting. Could I posibly get this to change the image of the object carried by the player? Like if the player picks up a bush, but I want it to look different?

NPC Code:
if (carriessign) {
setplayerprop #P3,lunpa_classic-sign.gif
}


NPC Code:
if (carriessign) {
setplayerprop #P(3),lunpa_classic-sign.gif
}


niether of them work.

ForgottenLegacy 12-01-2003 08:26 AM

They need to be in timeout loops.

MrGannondorf 12-03-2003 01:48 AM

to trigger or keep it triggered? and if its the latter of the two, whats to keep it from switching back once thrown?

Neoreno 12-03-2003 03:19 AM

Ideally, you should be able to alter the default sprite definitions, much like the tile definitions. *hint*

Dach 12-03-2003 06:15 AM

Quote:

Originally posted by Neoreno
Ideally, you should be able to alter the default sprite definitions, much like the tile definitions. *hint*
the default sprite definitions come from def.gani now, so I'd guess you can just edit that gani, but I haven't messed with it so I can't say for sure

GoZelda 12-03-2003 09:34 PM

Quote:

Originally posted by MrGannondorf
Intresting. Could I posibly get this to change the image of the object carried by the player? Like if the player picks up a bush, but I want it to look different?

NPC Code:
if (carriessign) {
setplayerprop #P3,lunpa_classic-sign.gif
}


NPC Code:
if (carriessign) {
setplayerprop #P(3),lunpa_classic-sign.gif
}


niether of them work.

Wow...

;
Maybe i should add in some ebaumsworld.com stuff

HoudiniMan 12-04-2003 04:30 AM

Quote:

Originally posted by Neoreno
Ideally, you should be able to alter the default sprite definitions, much like the tile definitions. *hint*
We've been tossing that back and forth in the Future Improvements forum for a while... Nothin' so far :|


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

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