What is the difference between "every" and "any" in SockMonkey? e.g. Any item in vicinity / Every item in vicinity What size is the 'vicinity' around the attachee ? What is a local object? Can I define which objects are stored as local objects? Is it possible to "create item" and have scripts tied to the created item? As yet I have not been able to get a create item script to work. I have tried using various numbers from the list at the end of WorldEd manual but every time a piece of wall just appears next to my player. What am I doing wrong? What would be the best way to get a unique object to appear in a certain area if a condition is met? The PC has a conversation / fight with a critter and an item falls down into the sewers so if he goes into the sewers the item should only be there if he has fought the critter earlier. I was planning to do this by setting a PC flag when the critter is attacked / during conversation. In the sewer is a tile script which checks the PC flag. If the flag is set then the tile creates object with number X nearby. Is there any way to have the object which appears have scripts attached? I wanted to simply teleport an existing object to the location but have not figured out how to do that. I thought I could if I set the object as a local object but I am not sure how to do this or if it is even possible. Hope that makes sense. Any help would be really appreciated and would save me from further hair loss.
I don't know too much about the first questions, but I think I can help you with your script. If I were you, I would set the item in the sewers, but with the "off" flag activated. Then I would bound a script like this to the dying point of the critter: 0 Toggle attachee state on/off 1 Returne and run default I have to say that some time the "on/off" scripts work difficutly, and maybe you'll have to try some more scripts; however I think it's the way! 8)
I've already read the world editor docs pretty thoroughly. The questions I have left are the ones I wasn't able to answer by reading the docs. For instance, the any and every description in the doc does not seem to match what actually happens in game when I compare the result of any and every scripts. e.g. Teleport ANY item in vicinity teleports 1 item out of 5 lying on the ground. Teleport EVERY item I would expect to teleport every item (5 out of 5) however it only teleports 1 item the same as the ANY script.
That's probably because it's fucked or you're trying to do something that it can't do. Try one of the other spell effects and see what happened. I know with my own mucking about that some combinations of affects and scripts just didn't want to work.