Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Miscellaneous => Topic started by: Piccolodmq on April 14, 2017, 02:31:56 am
-
I have made many smart scripts npcs in the past, so I am not stranger to the systems. But I have never been able to mae smart scripts on gameobjects work.
I guess they all work with the SmartGameObjectAI, instead of the SmartAI that npcs have.
Any pointers? for example lets say that. I want gobject= 1867290 to spawn when looted, touched or when I am nearby, this NPC. =39926
I have tried copying gamebojects like elizas tomb that spawn Eliza so you can fight her, with no luck. Any help would be apreciated.
-
You have to use SmartGameObjectAI instead of SmartAI in gameobject_template, and source_type=1 in smart_scripts. Thats all. The rest is just up to correct choice of events and actions.