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 11-28-2003, 10:03 PM
TESTRETIS TESTRETIS is offline
Zvarri!
TESTRETIS's Avatar
Join Date: Oct 2003
Posts: 970
TESTRETIS has a spectacular aura about
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
Reply With Quote
  #2  
Old 11-29-2003, 10:09 AM
Alexander Alexander is offline
Registered User
Join Date: Apr 2003
Location: California
Posts: 246
Alexander is on a distinguished road
Send a message via AIM to Alexander
You have to script it, #P3 of carry.gani is what item you are carrying.
Reply With Quote
  #3  
Old 11-29-2003, 09:03 PM
TESTRETIS TESTRETIS is offline
Zvarri!
TESTRETIS's Avatar
Join Date: Oct 2003
Posts: 970
TESTRETIS has a spectacular aura about
alright ill try that out makes sense
ill just use like
canbecarried
if (carried)
setani carry,,,image.png;
like that?
Reply With Quote
  #4  
Old 11-29-2003, 09:07 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 TESTRETIS
alright ill try that out makes sense
ill just use like
canbecarried
if (carried)
setani carry,,,image.png;
like that?
#P != #p
Reply With Quote
  #5  
Old 11-29-2003, 09:59 PM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
NPC Code:

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

__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
Reply With Quote
  #6  
Old 11-30-2003, 01:13 PM
Alexander Alexander is offline
Registered User
Join Date: Apr 2003
Location: California
Posts: 246
Alexander is on a distinguished road
Send a message via AIM to Alexander
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
Reply With Quote
  #7  
Old 12-01-2003, 01:46 AM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
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.
__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
Reply With Quote
  #8  
Old 12-01-2003, 07:45 AM
MrGannondorf MrGannondorf is offline
Teh Lunpa
Join Date: Apr 2002
Location: usa, alas
Posts: 395
MrGannondorf is on a distinguished road
Send a message via AIM to 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.
__________________
Reply With Quote
  #9  
Old 12-01-2003, 08:26 AM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
They need to be in timeout loops.
__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
Reply With Quote
  #10  
Old 12-03-2003, 01:48 AM
MrGannondorf MrGannondorf is offline
Teh Lunpa
Join Date: Apr 2002
Location: usa, alas
Posts: 395
MrGannondorf is on a distinguished road
Send a message via AIM to MrGannondorf
to trigger or keep it triggered? and if its the latter of the two, whats to keep it from switching back once thrown?
__________________
Reply With Quote
  #11  
Old 12-03-2003, 03:19 AM
Neoreno Neoreno is offline
Cerebrate
Neoreno's Avatar
Join Date: Aug 2001
Location: England
Posts: 1,663
Neoreno is on a distinguished road
Send a message via AIM to Neoreno
Ideally, you should be able to alter the default sprite definitions, much like the tile definitions. *hint*
__________________

Quote:
Exitus Acta Probat: The Outcome Justifies the Deed.
Reply With Quote
  #12  
Old 12-03-2003, 06:15 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
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
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #13  
Old 12-03-2003, 09:34 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
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
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #14  
Old 12-04-2003, 04:30 AM
HoudiniMan HoudiniMan is offline
Playerworld Administrator
HoudiniMan's Avatar
Join Date: Dec 2001
Location: Calfiornia - USA
Posts: 3,512
HoudiniMan will become famous soon enough
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 :|
__________________
-HoudiniMan (Chief Playerworld Administrator)
Compulsive Support Center Checker - 5 Years and Change
Graal Support Center

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 01:44 AM.


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