Scripts / [SOLVED] Create an entity from a script

Author
Message
stv238
7
Years of Service
User Offline
Joined: 23rd Mar 2017
Location:
Posted: 19th Jun 2020 20:28
Hello, I would like to know if it is possible to create a new entity (not added and disabled through the editor, but completely new) through a script?

The author of this post has marked a post as an answer.

Go to answer
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 19th Jun 2020 21:38
This post has been marked by the post author as the answer.
No.

You can hide entities and then show them when you want to, also move said entity to a new position.

So if what you are after is randomly spawning ammo for example you could do it that way. Just hide the ammo when picked up and move it to a new position, then after some delay show it ready to be picked up again.
Been there, done that, got all the T-Shirts!
PM

Login to post a reply

Server time is: 2024-03-28 17:35:33
Your offset time is: 2024-03-28 17:35:33