Page 1 of 1

How do i spawn a sprite in a location?

Posted: Wed Jan 29, 2025 2:08 pm
by TheGreatLynx
I doesnt need to be an actor or a new unit. I just want a simple sprite in a location.
This is for a mechanic similar to the minefield mechanic, where you can then draw sketch to build roads for example.

Re: How do i spawn a sprite in a location?

Posted: Mon Feb 10, 2025 11:26 pm
by abcdefg30
You can't directly spawn a sprite, but have to create an actor. My suggestion is to copy an existing actor like the mine and add the new artwork for your new actor. You can try following https://github.com/OpenRA/OpenRA/wiki/C ... a-new-unit