Ok this is a Nexus Wars variant I am doing, and I am wanting to spawn different units from the same building that you can select from.
I have added these scripts for unit groups and queues. The zealot doesn't auto-que after each new unit, but the upgraded one does, some are queing the unit and the other one after. What am I missing here? Here is all the pertinent codes for any of the unit/queues for any of the related variables in a text file.
Well, I figured out that I need to add a while or some loop to get both of those conditions to work for hellbat. But now it hangs for a minute or two with the messages "00:01:00.00 Gala: Script runtime error: Execution took too long Near line 4509 in gt_UnitQueue_Func() in MapScript.galaxy
00:01:00.00 Scri: Trigger Error in 'gt_UnitQueue_Func': Execution took too long" before queuing 5x hellions. Also, I found out that the carrier/selendis building is queuing only selendis, and I have verified that the ability commands are correct. Don't know what is wrong here - I am new to .galaxy editing; or triggering at all since SC1 and only have done code splicing copy/paste over the years for various other games.
Here is the new code that queues hellion after most recent attempts to fix it.
Well, I found the wait command fix the execution hang. But now whenever someone ques up hellion it will cause the game to make a never-ending series of ques on hellion not letting anyone switch units at that point. Why is that? This is what I changed from the last time.
Ok this is a Nexus Wars variant I am doing, and I am wanting to spawn different units from the same building that you can select from. I have added these scripts for unit groups and queues. The zealot doesn't auto-que after each new unit, but the upgraded one does, some are queing the unit and the other one after. What am I missing here? Here is all the pertinent codes for any of the unit/queues for any of the related variables in a text file.
Well, I figured out that I need to add a while or some loop to get both of those conditions to work for hellbat. But now it hangs for a minute or two with the messages "00:01:00.00 Gala: Script runtime error: Execution took too long Near line 4509 in gt_UnitQueue_Func() in MapScript.galaxy 00:01:00.00 Scri: Trigger Error in 'gt_UnitQueue_Func': Execution took too long" before queuing 5x hellions. Also, I found out that the carrier/selendis building is queuing only selendis, and I have verified that the ability commands are correct. Don't know what is wrong here - I am new to .galaxy editing; or triggering at all since SC1 and only have done code splicing copy/paste over the years for various other games.
Here is the new code that queues hellion after most recent attempts to fix it.
Well, I found the wait command fix the execution hang. But now whenever someone ques up hellion it will cause the game to make a never-ending series of ques on hellion not letting anyone switch units at that point. Why is that? This is what I changed from the last time.
Fixed everything by myself, thread can be closed.