You can't find it in the trigger menu because it isn't a "direct" function. You will for example find it as "indirect" function if you do "Set Variable" on a string variable, and on the value parameter you can use the function "Catalog Field Value Get". Hopefully that was a clear enough explanation.
Thanks! That made totally sense, since there is no need to use a GET-function if theres nowhere to place the returned value inside.. :D
How can I, by using triggers get the range of a certain weapon. I wanna use the Weapon Range as a variable. Is there something similiar to the "UnitGetPropertyInt()" function?
Your map was very helpful, thanks! I was experimenting with it + triggers to make so that it's possible to target the ground and not a certain unit, and I managed to fix that, but can this be done without triggers aswell?
My trigger right now spawns an invisible unit at the mouse location and makes my unit attack that one. The unit is removed kinda the instance the rocket is fired.
0
If you make your points into invisible units instead i guess you could just "check for units" in your attached region all the time.
0
Thanks! That made totally sense, since there is no need to use a GET-function if theres nowhere to place the returned value inside.. :D
0
Thanks alot guys! One more question though, i can only find the Set function and not the Get, where is it? :o
Edit: I know how to do it with custom script, but why can't i find it in the "trigger menu" of functions? o.O
0
My question is as in topic:
How can I, by using triggers get the range of a certain weapon. I wanna use the Weapon Range as a variable. Is there something similiar to the "UnitGetPropertyInt()" function?
0
@QuantumMenace: Go
Your map was very helpful, thanks! I was experimenting with it + triggers to make so that it's possible to target the ground and not a certain unit, and I managed to fix that, but can this be done without triggers aswell?
My trigger right now spawns an invisible unit at the mouse location and makes my unit attack that one. The unit is removed kinda the instance the rocket is fired.