Forum > Miscellaneous

Smart Scripts on Gameobjects

(1/1)

Piccolodmq:
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.

Amaroth:
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.

Navigation

[0] Message Index

Go to full version