Hey guys, I have a vase in which I set so it contains a key, but I don't know how to find out or change the name of the key that appears when the vase is broken. Theres gotta be a way, cause what good is a key if you don't know the name of it and can't set up a script to have it open a door? Does anyone know how to mess with the key's name or anything like that?
Click on the key for the information. Use the item name, and that's what you use for the script.
(03-02-2012, 02:21 AM)Strembitsky Wrote: [ -> ]Click on the key for the information. Use the item name, and that's what you use for the script.
Well thats the problem, in the level editor there is no physically key that you can click on because the key spawns after the vase is broken.
I haven't tried this yet, but try suffixing the entity name with "_item" when trying to reference the key.
If YC's method doesn't work, you can turn on 'Inspection Mode' via the debug menu. Then just look at the key which comes out of the vase once broken. The internal name should appear in the top left.
Turns out it was "vase_item", so YC was right! but thanks palistov for the reply, I now know there an inspection mode. Do either of you know how I would rename this key?