Alternatives for CreateEntity? [Solved]
Posted: Fri Jul 10, 2015 9:50 pm
So I just realized that CreateEntity isn't MP compatible (and is why Mav posted a while back not to use it or DeleteEntity) - that's the reason City Watch was crashing with the ping feature in MP but working fine in SP. I also recently used it in another mod and the same thing happened. Is there any way to create an entity without using CreateEntity?
One solution would be to have the objects pre-placed in the map, and then respawn them and move them when you need them. I don't really want to have to do this, as I like my gamemodes to be able to load the stock maps and not have huge file sizes. Are there any ways that a map marker can be attached to a matrix? I know that's there's MapAddRegionMarker, MapAddEntityMarker, and MapAddClassMarker, but as far as I can see there's no way to attach one to a matrix without it being an object.
One solution would be to have the objects pre-placed in the map, and then respawn them and move them when you need them. I don't really want to have to do this, as I like my gamemodes to be able to load the stock maps and not have huge file sizes. Are there any ways that a map marker can be attached to a matrix? I know that's there's MapAddRegionMarker, MapAddEntityMarker, and MapAddClassMarker, but as far as I can see there's no way to attach one to a matrix without it being an object.