I've searched for an answer for some time now but couldn't find anything that helped.
My request is pretty simple and probably the easiest thing to do, but i just cannot figure it out -.-'
I have a builder unit that can build a road (the road is a building, basically a squished MarSaraBridge to resemble a road, made turnable).
Since i have predetermined places to build this road on, i have to change the rotation of the road depending on where it was built - that's not the problem, but actually rotating it after building is.
It's weird and i simply don't know how to do it. All i want is to rotate the building like i can rotate it in the editor itself (like 270 degrees etc.)
I've tried the first thing that came to mind, sending an actor message to the unit, setRotation but then there is just a blank field where no matter what i put in there, nothing changes at all. I've read about foorwardX, forwardY etc. but i i don't know how it actually has to look like to be accepted - if that is at all even what i'm looking for.
Hope someone's able to help me out here on this probably very simple issue.
Hello,
I've searched for an answer for some time now but couldn't find anything that helped.
My request is pretty simple and probably the easiest thing to do, but i just cannot figure it out -.-'
I have a builder unit that can build a road (the road is a building, basically a squished MarSaraBridge to resemble a road, made turnable).
Since i have predetermined places to build this road on, i have to change the rotation of the road depending on where it was built - that's not the problem, but actually rotating it after building is.
It's weird and i simply don't know how to do it. All i want is to rotate the building like i can rotate it in the editor itself (like 270 degrees etc.)
I've tried the first thing that came to mind, sending an actor message to the unit, setRotation but then there is just a blank field where no matter what i put in there, nothing changes at all. I've read about foorwardX, forwardY etc. but i i don't know how it actually has to look like to be accepted - if that is at all even what i'm looking for.
Hope someone's able to help me out here on this probably very simple issue.
Thanks!
set unit facing?
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
unit must be also turnable