How could it be the array value failing? It's working fine in the other two identical instances. Same array value, same unit. Just a different team controlling it.
I have a trigger embedded into a complex process in the project I am working on and it is giving me a headache. After hours of grinding away at it, trying to determine what is causing the issue (and failing), and then trying to work around it to no avail, I think I may have encountered a glitch or bug.
First, here is the problem in question:
I have put green and red checks as sort of a visual aid to describing the problem. Basically when the condition of Current Team == 2 comes up, it executes all three actions perfectly. When the condition of Current Team == 3 comes up, it executes all three actions perfectly. But when the condition of Current Team == 1 comes up, it only executes the first two actions and ignores the third, even though the actions are identical between each else if.
Now, for some background information, the unit in question (who is supposed to have it's ownership changed to neutral) is present and correctly associated with the unit variable in all three instances. The current owner of that unit at the time of the action may be different, but that isn't checked anywhere in the conditions.
Has anyone encountered a problem like this? Why is it ignoring this action sometimes, and not others?
I was hoping some of the more experience mappers on the forum would be willing to share with me any tricks they might have for developing a rotationally symmetric map for odd numbers of players. For example, a 3 player FFA map.
Are there any tools in the editor which make this particularly easy? I remember there was an old generate map from image tool in StarEdit which I think would help immensely if it worked very well. Being only able to rotate terrain by 90 degrees is really killer when trying to develop maps for odd numbers of players.
I have already set the Cost - Charge (Use) setting to 15, it still allows the use of the ability provided there is at least one charge. If there are 15 charges, it still consumes them all, but it doesn't require 15 charges for use, it only consumes 15 charges on use (which, if you have less than 15 will just consume whatever you do have).
I will try the validator but what do I set the Field setting to? I really wish there was some documentation on the editor.
Alright, so I have an ability and the max charges it can have is 15, the starting amount is 0, and the use number is 15. So it should consume 15 charges when it is used. Great.
The problem is I don't want the ability to be able to be used unless it has 15 charges. Right now it will allow the ability to go through even if it has only 1 charge. How can I make it only available with 15?
I am trying to create an ability that allows a unit to create four new units within a certain range of itself. Once it creates 4, it can't build anymore until one of the four dies.
I assumed I would do this using magazines, creating a unit that starts out with 4 ammo in a magazine, and creating each unit consumes one ammunition. And then through triggers, I add one ammo to the magazine each time one of the units dies. But I am confused, and I have found very little concrete or clear information about magazines anywhere.
In triggers I can add and subtract ammo from an ability's magazine, but in the actual data editor I am struggling to find any information about how abilities and magazines interact.
I might be able to mickey mouse my way to a solution by modifying the nuke or interceptor abilities, but I would much rather understand what I am doing and build a system from scratch in the data editor.
I have no idea. But I am using a Dialog for a scoreboard and I would like observers to be able to see it. But right now they can't unless they use player view.
0
Unfortunately there is not. Otherwise this would be really easy.
0
Hate to bump, but this seems like something that definitely should be possible and I am sure one of you out there knows how!
0
Is there any way to send an actor message to doodads of a specific type without adding the doodads to a table or variable first?
0
How could it be the array value failing? It's working fine in the other two identical instances. Same array value, same unit. Just a different team controlling it.
0
I have a trigger embedded into a complex process in the project I am working on and it is giving me a headache. After hours of grinding away at it, trying to determine what is causing the issue (and failing), and then trying to work around it to no avail, I think I may have encountered a glitch or bug.
First, here is the problem in question:
I have put green and red checks as sort of a visual aid to describing the problem. Basically when the condition of Current Team == 2 comes up, it executes all three actions perfectly. When the condition of Current Team == 3 comes up, it executes all three actions perfectly. But when the condition of Current Team == 1 comes up, it only executes the first two actions and ignores the third, even though the actions are identical between each else if.
Now, for some background information, the unit in question (who is supposed to have it's ownership changed to neutral) is present and correctly associated with the unit variable in all three instances. The current owner of that unit at the time of the action may be different, but that isn't checked anywhere in the conditions.
Has anyone encountered a problem like this? Why is it ignoring this action sometimes, and not others?
0
Thanks for the info, I found a couple of posts on TL and they were really helpful.
0
I was hoping some of the more experience mappers on the forum would be willing to share with me any tricks they might have for developing a rotationally symmetric map for odd numbers of players. For example, a 3 player FFA map.
Are there any tools in the editor which make this particularly easy? I remember there was an old generate map from image tool in StarEdit which I think would help immensely if it worked very well. Being only able to rotate terrain by 90 degrees is really killer when trying to develop maps for odd numbers of players.
0
Has anyone found a solution for this?
0
I would like to show a heroes level on their icon, but can't find away. Any ideas?
0
I have already set the Cost - Charge (Use) setting to 15, it still allows the use of the ability provided there is at least one charge. If there are 15 charges, it still consumes them all, but it doesn't require 15 charges for use, it only consumes 15 charges on use (which, if you have less than 15 will just consume whatever you do have).
I will try the validator but what do I set the Field setting to? I really wish there was some documentation on the editor.
0
Alright, so I have an ability and the max charges it can have is 15, the starting amount is 0, and the use number is 15. So it should consume 15 charges when it is used. Great.
The problem is I don't want the ability to be able to be used unless it has 15 charges. Right now it will allow the ability to go through even if it has only 1 charge. How can I make it only available with 15?
0
I have been looking into counts, they are equally as cryptic. Anyone seen any good tutorials on either?
0
I am trying to create an ability that allows a unit to create four new units within a certain range of itself. Once it creates 4, it can't build anymore until one of the four dies.
I assumed I would do this using magazines, creating a unit that starts out with 4 ammo in a magazine, and creating each unit consumes one ammunition. And then through triggers, I add one ammo to the magazine each time one of the units dies. But I am confused, and I have found very little concrete or clear information about magazines anywhere.
In triggers I can add and subtract ammo from an ability's magazine, but in the actual data editor I am struggling to find any information about how abilities and magazines interact.
I might be able to mickey mouse my way to a solution by modifying the nuke or interceptor abilities, but I would much rather understand what I am doing and build a system from scratch in the data editor.
Can anyone help me please?
0
I have no idea. But I am using a Dialog for a scoreboard and I would like observers to be able to see it. But right now they can't unless they use player view.
0
How do I make it so spectators can see Dialogs in the main spectator mode? Show Dialog: All Players doesn't seem to work.