[C++] I need a script!

Infamous

Mythical User
16
2014
2
Location
United Kingdom
I am going to explain this in the most simple way possible.
I need a C++ script which will do this (Trinitycore)


Code:
[COLOR="blue"]if[/COLOR] player useObject(ID: 812922)
   objectIsUsed =
   
[COLOR="blue"]then[/COLOR] nearestCreature(GUID: nearest)
   randomizeSayText =
                Option1("Hello there!")
                Option2("Welcome!")

And when it has done that, i want the Object+Creature to disappear. (But respawn normally as if it died)
 
Last edited:
Top