What's new
  • Happy Cataclysm gaming! The long-awaited 4.3.4 Cataclysm Repack V19.0 is now live - and downloadable from our brand-new Emucoach App.
    Download it now

[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:
Back
Top