-If a character, with or without the use of Myscript, is instructed to check only the tile it's standing on for any other item, such as a powder keg, it sees it just fine.
-If a character under the same conditions tries to detect any kind of pressure plate, it doesn't see it.
I've attached the room I was using to try and see what was wrong with a character I was using this code for. The thing in the top right is pushable and non-stunnable, and uses myscripts to detect what's under it, and is supposed to change to a "
weighing down"
appearance if it sees a pressure plate, a wraithwing if it doesn't; it just instantly turns into a wraithwing and stays that way.
The two citizens illustrate the problem more precisely: They have identical code except the north one is looking for pressure plates while the south one is looking for powder kegs. Even if you change the code to one that doesn't use myscript at all, as long as it only looks at the tile under the character, the top one works and the bottom one doesn't. The top one does detect pressure plates anywhere it isn't currently standing, though.
____________________________
109th Skywatcher
Here are some links to Things!
Click here to view the secret text
[Last edited by Xindaris at 01-18-2016 09:44 PM]