When I 'add item my_item the item is created but onCreate is not called?
I can get onCollide to fire the same code, so I know the myFunction is set up correctly and the file associations are correct but this doesn't work:
function onCreate( objMade, objType )
{
myFunction();
}
I cannot get onCreate to fire any code. Situation is, I created a new DFN file with an item in it. DFN is in dfndata\items\misc
The item itself is using a pre-existing item as a template (0x1869) and
is created just fine. The script I wrote for it does work in onCollide etc
[invasion_quest]
{
get=base_item
name=Invasion Quest Gem
id=0x1869
weight=0
decay=0
script=5200
}
I'm stumped.
P.S.: asking a lot of questions