Regards from Poland. Two questions about WorldEd: 1. How placed item named 'KeyRing'? In prototype box I haven't this name. 2. I try to use command 'Dialog num' in script attached to USE. Why section with jump back to script not work properly (i.e. {1}{some txt}{}{1}{}{-2}{})? This only function with attachee DIALOG?
Welcome to the forum, Loner! 1) {13061}{Key Ring} I can't remember where you find it in WorldEd. Sorry. It should be in general items but it may be something that you find in Edit rather than Select. 2) Yeah, Dialog number calls should only be attached to Dialog or scripted through heartbeat: If Global flag XXXX is set THEN call Dialog XXXX at point XX with (So-and-So) Else Return and RUN default Also - I (and Troika) always started the scripting with line 0 instead of 1. I'm not sure if this actually has anything to do with the script's working or not, but give it a try.
Thank you, rroyo. 1) This is strange, but I finding it everywhere and... nothing!!! 2) This is sad but true. I trying build dialog among PC and vending machine. I used attachee USE, because vending machine is 'scenery' and attachee DIALOG not working (only with NPC). Any idea?
1) Well - There's always a way to cheat. Create a chest and give it a General Store City inventory. Edit the thing and make it poop. Now sort through that pile until you find the keyring. Save it and delete everything else. 2) This is the same process Troika made the usable ship wheels from. Start with a critter - Human female works. Go to the edit functions. Change the art from the person to the vending machine. Once you've done that, change the name listings at the top. Then go to the Flags. Clear all the flags except See-through, Shoot-through, Invulnerable, and Aloof. make sure those are checked. In Script, attach the Dialog and any Heartbeat or Examine scripts you have for the machine. Use the Dialog slot for the Dialog script, of course. Save and try it out in-game.
If you don't enjoy sorting through inventories, add a line to invensource: something along these lines. {124}{KeyRing: 0, 0, 100, 13061} Then just create a chest and give it the KeyRing inventory.