Well now Im getting confused.. how to add actionid to a key, and without using actions.xml?
Tought you just had to use the same ID of the key as an actionID on the door.. not setting the actionID on the door and then on the key.. how would you do this? This would be if like an item was placed on the map or chest and you add the actionID to the key by rightclick just like the door, right?? but how to do if I want to buy the key from an NPC or just create the key with the GM to reward some players?
How to make it so it works that way? Not from a placed key on map..
EDIT: In the mean time I made a script that's working but have to use 1 script for every different locked door, so if anyone has an easyer way I would apreciated