Is it possible to rotate a building ingame before placing it down?
So that I pick it from the command card and choose its rotation before it will be build?
I think (don't trust hold me to it) you could send an actor message. It gets complicated because i don't know how you want to rotate your building, with the mouse, or with buttons etc. I think would would have to hide actors, then show them again, but i might be over thinking this.
EDIT: this is how I think you would do it, but i could be wrong. Have a trigger with button pressed event, then set a boolean variable to true and an actor variable to last created actor. When the player holds down shift i would hide the actor, create another actor then set the rotation of the last created actor based on the mouse position. If the player releases shift i would destroy the last created actor and show the hidden actor.
Is it possible to rotate a building ingame before placing it down? So that I pick it from the command card and choose its rotation before it will be build?
@RoAdRuNnNeR: Go
I think (don't trust hold me to it) you could send an actor message. It gets complicated because i don't know how you want to rotate your building, with the mouse, or with buttons etc. I think would would have to hide actors, then show them again, but i might be over thinking this.
EDIT: this is how I think you would do it, but i could be wrong. Have a trigger with button pressed event, then set a boolean variable to true and an actor variable to last created actor. When the player holds down shift i would hide the actor, create another actor then set the rotation of the last created actor based on the mouse position. If the player releases shift i would destroy the last created actor and show the hidden actor.
Again, i think i am over thinking this.