El Diablo
Fri, 30th Aug '02, 8:41pm
How can i make sleeping NPC in bed???
|
View Full Version : Sleeping NPC El Diablo Fri, 30th Aug '02, 8:41pm How can i make sleeping NPC in bed??? Lazy Bonzo Fri, 30th Aug '02, 11:07pm Short answer: you can't Long answer: hmm make a placeable which uses your own model/skin of a person on a bed and then place a trigger round the person which initiates dialog. However making skins for anything is hard if you don't know what you're doing or aren't good at computer modelling re-skinning and NWN doesn't make it any easier. trillex Thu, 5th Sep '02, 7:57am Just a thought. I don't know if it's possible since I've only played elf. But when someone casts sleep on you, do you lie down just like with the Infinte Engine? Because then it should be possible. Wildfire Thu, 5th Sep '02, 8:07am No, afaik, you can make someone appear to lie on the floor, but you can't make someone lie down on a placeable object like a bed, and so it is impossible. Errol Thu, 5th Sep '02, 1:13pm Well...you can make an NPC sleep on a Bedroll Placable, (the roll on the floor) for outside campers and such. To do this, enter this bit at the end of the NPC's OnSpawn script: A creature can, however, sleep on a placeable object bedroll or on the floor. If you wanted your NPC to start off the game sleeping, you need to copy the creature's OnSpawn script, save it under a different name, and then add this to the bottom of that script: effect eLieDown = EffectSleep(); effect eSnore = EffectVisualEffect(VFX_IMP_SLEEP); effect eSleep = EffectLinkEffects(eLieDown,eSnore); ApplyEffectToObject (DURATION_TYPE_PERMANENT, eSleep, OBJECT_SELF);Or you could just as easily place one of the dead bodies (corpses) on the bed, and put their name as 'Sleeping Man', having a one-liner conversation with the placable (the man) as "Zzzzzzzzz" or something. [ September 05, 2002, 14:19: Message edited by: Gopher ] |