Quote from DrSuperEvil:
No. Just add the At Caster term so that it checks the status is 0/1 at the caster (clicked) unit and not any other of your units of the same type.
----
Well the term at (caster) doesn't exist in the UnitClick.
Heya I'm trying to make it so that when you click a unit it will tint colour and then when you click it again it goes back to normal. I tried adding the following to the actor events:
UnitClick.Wall_Dirt
=> IsStatus Clicked 1
Set TintColor 96,255,43
I'd say galaxy++ is most likely influenced by c++ hence the name. Also afaik andromeda will have function pointers in the future. Also what do you mean with organize code, syntactic sugar level and easy?
Hello, I've started using your editor and well it crashed for me when writing this code. Essentially since there's no documentation it's quite hard to know how to code it properly. I think it crashes at the for line.
0
@Kueken531:
Alright, it worked when I set
UnitClick.Wall_Dirt
StatusIncrement Clicked
UnitClick.Wall_Dirt
IsStatus 5
StatusSet 1
UnitClick.Wall_Dirt
IsStatus 3
ClearTint
What it did (I think) was that it counts both pressing and releasing as a click for some reason.
Thanks for the help DrSuperEvil and Kueken!
0
gonna bump it as I'm still having the problem.
0
@Kueken531:
Strange that it doesn't show up on unitclick then, that's an event afterall
0
@DrSuperEvil:
Yeah I know but it doesn't seem to be there, I know it is at the Marauder however when I try to add the Term it's not there.
0
@Kalekin:
Thanks!
0
Quote from DrSuperEvil:
No. Just add the At Caster term so that it checks the status is 0/1 at the caster (clicked) unit and not any other of your units of the same type.
----
Well the term at (caster) doesn't exist in the UnitClick.
0
@DrSuperEvil:
So I guess I'll have to make the tinting an effect/behaviour?
0
Quote from DrSuperEvil:
Tried adding the At Caster term as well?
----
Nope, Where should it be added (I'm new to the data editor)?
0
Heya I'm trying to make it so that when you click a unit it will tint colour and then when you click it again it goes back to normal. I tried adding the following to the actor events:
UnitClick.Wall_Dirt
=> IsStatus Clicked 1
Set TintColor 96,255,43
UnitClick.Wall_Dirt
=> IsStatus Clicked 2
ClearTintColor
ActorCreation
StatusSet Clicked 1
UnitClick.Wall_Dirt
=> IsStatus Clicked 1
StatusSet Clicked 2
UnitClick.Wall_Dirt
=> IsStatus Clicked 2
StatusSet Clicked 1
It seems however it causes to trigger the IsStatus Clicked 2 events aswell when you click it once.
0
I'd say galaxy++ is most likely influenced by c++ hence the name. Also afaik andromeda will have function pointers in the future. Also what do you mean with organize code, syntactic sugar level and easy?
0
Hello, I've started using your editor and well it crashed for me when writing this code. Essentially since there's no documentation it's quite hard to know how to code it properly. I think it crashes at the for line.
0
Awesome, the current galaxy language is atrocious and I can't even bother with making maps anymore. Can't wait to see this done!