- Joined
- Oct 16, 2017
- Messages
- 16
First of all I'd like to apologize for the formatting of the images, as shown in the first picture for whatever reason I cannot copy the trigger text as I would like to as the option is grayed out. I also do not have the option available when I simply right click the trigger itself.
Onto what this thread is about. Long and short of what I'm trying to accomplish is make a boss AI that simply cycles through abilities on a set interval through a hashtable. Every second a check is run to see if any of the abilities are at '1' if they are the relevant spell trigger is ran and the hashtable number reset to go through the process again. And if any abilities or phases have say a 30 second channel I can adjust the rest of the abilities to wait the 30 seconds and then continue as usual.
The problem is I can't seem to get the hashtable to work. I'm not sure if its just due to how I'm saving the hashtable or if I'm screwing up the use of Integer A or what.
Any assistance on how to get this working or suggestions/improvements on the idea itself would be appreciated.
I have uploaded a generic test map for reference if my explanation and the trigger pictures were not sufficient.
Edit: I've got it working now I believe I had errors in the hashtable, managed to get it working by using custom script and basing it on script in following thread: Hashtable key = variable (possible?)
Onto what this thread is about. Long and short of what I'm trying to accomplish is make a boss AI that simply cycles through abilities on a set interval through a hashtable. Every second a check is run to see if any of the abilities are at '1' if they are the relevant spell trigger is ran and the hashtable number reset to go through the process again. And if any abilities or phases have say a 30 second channel I can adjust the rest of the abilities to wait the 30 seconds and then continue as usual.
The problem is I can't seem to get the hashtable to work. I'm not sure if its just due to how I'm saving the hashtable or if I'm screwing up the use of Integer A or what.
Any assistance on how to get this working or suggestions/improvements on the idea itself would be appreciated.
I have uploaded a generic test map for reference if my explanation and the trigger pictures were not sufficient.
Edit: I've got it working now I believe I had errors in the hashtable, managed to get it working by using custom script and basing it on script in following thread: Hashtable key = variable (possible?)
Attachments
Last edited: