Hi! This is the first time i need help from someone about the galaxy editor. Anyway, heres my problem:
I have a map where you can buy a building and once you own it you can do more stuff with it. I wan the options to do more stuff to pop up when the person who bought the building (the now-owner) selects it. I used the 'unit is selected' event, with my building as the unit and the 'by player' part as 'owner of [building]' , which never works. It triggers fine if i set the 'by player' to player 1, but why doesn't it work if it say the selecting player has to be the owner of builing/triggering unit? Thanks!
I know how to do a workaround of this with conditions, but that would increase lag.
Using functions for events generally doesn't work. You have to set Player to a constant. Any Player also works. You might just have to deal with the lag.
Hi! This is the first time i need help from someone about the galaxy editor. Anyway, heres my problem:
I have a map where you can buy a building and once you own it you can do more stuff with it. I wan the options to do more stuff to pop up when the person who bought the building (the now-owner) selects it. I used the 'unit is selected' event, with my building as the unit and the 'by player' part as 'owner of [building]' , which never works. It triggers fine if i set the 'by player' to player 1, but why doesn't it work if it say the selecting player has to be the owner of builing/triggering unit? Thanks!
I know how to do a workaround of this with conditions, but that would increase lag.
Using functions for events generally doesn't work. You have to set Player to a constant. Any Player also works. You might just have to deal with the lag.
yeah you can have things trigger on "dynamic" calls. so by doing it as "any player" then, simply make an IF statment to check if it is the owner.
OK thanks guys. I guess i'll just have to deal with the lag. I've had to do that a few other places. I hope it wont make my map too slow.
There should be no lag.
If you have lag from this your doing something wrong...
post your code and im sure we can point out your problem quickly...
we would need your unit takes posession trigger as well