Trying to spawn a specific entity via ent_create is causing me difficulties...
3 replies, posted
So, the jist of my problems is that I'm using a system that spawns configurable entities through ent_create. It's worked great so far for just about every entity so far, except 1 specific thing.
[url]https://scriptfodder.com/scripts/view/1687[/url]
This addon adds door alarms to the server, and when attempting to spawn one of these entities via ent_create, it spawns an error for just under a second then disappears. I left a support ticket for the author of the addon and his response was... less than helpful. Either way, is there a specific thing about certain entities that would cause this interactions through ent_create?
Are we talking about the console command ent_create, or the ents.Create lua function?
Because you are not supposed to use the console commands in production.
[QUOTE=Robotboy655;49376337]Are we talking about the console command ent_create, or the ents.Create lua function?
Because you are not supposed to use the console commands in production.[/QUOTE]
Both wield the same result. Yet spawning it through the F4 menu and q menu work just fine
The entity must be reliant on the spawn function.
[url]http://wiki.garrysmod.com/page/ENTITY/SpawnFunction[/url]
Sorry, you need to Log In to post a reply to this thread.