Creates object of certain type.
- Аргументы
-
| type | of objects to create |
| pos | position where to create object |
| create_local | if True, object is not spawned on clients only on server |
| init_ai | if creating object is LightAI class, by this param is initialised AI or not |
- Возвращает
- new Object