This worked wonderfully. Thank you so much!
AIName wasn't the problem. I'm not sure what was, but I think it was my quest type that was set to 2, or some flags, or whatever. It's complicated : )
Anyway, following the example of that Creepy Crate quest, I just made that object to be questender and give the item as quest reward.
So, basically, the whole quest, meaning getting it, doing it, and completing it - works fine. However, there's one thing left: would it be possible, for example using that conditions table, to make the object disappear (and never return) after being used to complete the quest, but only for the player who completed the quest? In short, for the player who is doing the quest, it would look as if he picked up the object, therefore it is no longer where it used to be. New players, however, would still see it there, because they haven't picked it up yet.
And another question on SmartAI, if you don't mind: I made a boat vehicle creature (the vehicle nature of it works fine, just in case), and I want it to do the following things:
Every time it is unmounted (PASSENGER_REMOVED or CHARMED with param 1, maybe?) it needs to change it's original position (isn't that what SET_HOME_POS does?) to it's current coordinates, so that even after the server is restarted, it would spawn there
Since it's using a waterwalk aura, I can't just spawn it on the water - it has to be a little bit below the water surface (z = -0.48, to be exact) in order to look partially submerged, like normal boats. I want the boats to jump to this coordinate (only Z) every time they are spawned/respawned/mounted. You know, in case they've been moved up/down somehow or whatever.
Not being able to walk/run on land
Could you help me with these?