is this possible?

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: is this possible?
Shock Trooper
Member # 4180
Profile #0
I seem to be trying a string of really odd things here, all of a sudden. :) Anyway... I have an NPC who may or may not be drugged and sleeping. If he is sleeping, I want the party to be able to "search" him and find a special item.

I have it all working the way I want, except that the SEARCH_STATE of a terrain script on a space with an NPC in it is never called. Which is just the way it should be if you're not crazy like me and trying to do things that were never intended. :D

Am I going to have to erase the character if/when he goes to sleep and replace him with a "terrain" that "looks like" him sitting in his chair? Then switch back to the "normal" terrain and respawn him as a character if/when he awakes? Or can anyone think of an easier way to go about it?

-spyderbytes

--------------------
-spyderbytes
Posts: 200 | Registered: Wednesday, March 31 2004 08:00
Triad Mage
Member # 7
Profile Homepage #1
You could make it a cutscene.

Also, you should have a text bubble above his head that says 'Zzz' or something.

--------------------
"At times discretion should be thrown aside, and with the foolish we should play the fool." - Menander
====
Drakefyre's Demesne - Happy Happy Joy Joy
Encyclopedia Ermariana - Trapped in the Closet
====
You can take my Mac when you pry my cold, dead fingers off the mouse!
Posts: 9436 | Registered: Wednesday, September 19 2001 07:00
Shock Trooper
Member # 4180
Profile #2
I decided the item must have fallen out of his pocket when he fell asleep. ;) The party now finds the item by searching one of the adjacent squares. Having it actually on his person was not enough better than that for the extra work it would have cost. :P

And yeah, he gets a "Zzzzz..." text bubble every other tick while he's asleep. :)

-spdyerbytes

--------------------
-spyderbytes
Posts: 200 | Registered: Wednesday, March 31 2004 08:00