Jump to content

How to AI script with sequencer type spells


amwrag

Recommended Posts

Hello everyone.

Sorry for my english. I hope for your help in writing the AI script. I want to trigger a spell of the sequence type with predefined elements.

Now I do (like Easy of Use scripts):

IF
	ActionListEmpty()
	HotKey(U)
	HaveSpellRES("SPWI809")  // No such index
THEN
	RESPONSE #100
		DisplayStringHead(Myself,103539)  // Try cause Spell Sequencer
		ApplySpellRES("dw#alac",Myself) // Improved Alacrity
		SpellRES("SPWI809",Myself) // Spell Sequencer
END

 

I would like to change this code so that you do not need to select 3 spells manually. Several versions of this script on different keys and I will be happy.

A code sample or implementation in another mod would help me a lot.

Thanks

Edited by amwrag
Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...