How do i spawn a sprite in a location?

simple sprite spawn

Information and discussion for custom maps and mods.
Post Reply
TheGreatLynx
Posts: 1
Joined: Thu Apr 11, 2024 10:45 pm

How do i spawn a sprite in a location?

Post 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.

abcdefg30
Posts: 660
Joined: Mon Aug 18, 2014 6:00 pm

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

Post 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

Post Reply