AussieGuy

Idiots Guide for SAI

2 posts in this topic

Hi All,

I have just written my first SAI script, copying from another and it was a partial success.

I do not know how to create text for an NPC to say, and how/where to link it. I think it is connected with a data script, but no details.

I do not know how to stop an NPC from attacking.

Are there any resources available to assist?

I have looked at the SAI Editor for Keira2, it is very good, but linking up a working SAI with an Idiots Guide to how to show text, stop attacking, run away to a certain point, etc would be very helpful.

An extremely complex SAI like insertwww.wowhead.com/quest=29678/shu-the-spirit-of-water seems daunting to write.

If the information is available via sniffs, then that would be fantastic, I have installed the sniff tool but live is so volatile atm that it is out of date, and even were it to be rewritten most likely live will be patched at least once per week for the near future, so it might not be worth the effort.

TLDR: I can't work out how to write SAI scripts, please help

Thanks,

Glenn

 

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Saben
      Currently, I am trying to get wastewalker Workers to use the mining emote when out of combat.
      I am currently trying this to no avail.
      -- Wastewalker Worker SAI SET @ENTRY := 17964; UPDATE `creature_template` SET `AIName`="SmartAI" WHERE [email protected]; DELETE FROM `smart_scripts` WHERE [email protected] AND `source_type`=0; INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES (@ENTRY,0,0,0,1,0,100,6,0,0,0,0,17,233,0,0,0,0,0,0,0,0,0,0,0,0,0,"Wastewalker Worker - Out of Combat - Set Emote State 233 (Dungeon)"), (@ENTRY,0,1,0,0,0,100,4,2300,7700,8000,11000,11,37662,32,0,0,0,0,5,0,0,0,0,0,0,0,"Wastewalker Worker - In Combat - Cast 'Rend' (Heroic Dungeon)"), (@ENTRY,0,2,0,2,0,100,7,0,15,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Wastewalker Worker - Between 0-15% Health - Flee For Assist (No Repeat) (Dungeon)"), Edit: It appears to work in normal (not sure if that is from me), but not heroic. I tried copying the same smart_script with the heroic entry ID and that didn't work.
    • By Inky
      Hey all!

      I've been thinking, after I saw this introduction in the spanish part of the forum, this guy who wants to help out in any way he can... Given the fact that he didn't specify if he has any knowledge in developing of any kind the first thing I thought was in the missing gossip.
      But then again, there's nowhere to post that in spanish, if there are users that can't understand/speak english.

      Maybe we could make a "Help us gather missing gossip" kindda post but translated in spanish and pin it on the localized forums.
      You could also do the same with the "Converting EAI to SAI", because I know there are a lot of developers out there that know how to do it but don't speak english at all.

      Just something to think about, if you ask me this would be very efficient and "welcoming" for hispanic people (of course it could/should be done in all the other languages).
      I myself could help out in the spanish and portuguese sections.

      Cheers, XOXO!