Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor docs update #412

Merged
merged 2 commits into from
Dec 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion doc/en/scripting/builtins/libentities.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ entities.get(uid: int) -> table
-- prefix - component pack id
-- name - component name
-- component prefix and name are separated with two underscores
entities.spawn(name: str, pos: vec3, [optional] args: table)
-- Returns an entity object
entities.spawn(name: str, pos: vec3, [optional] args: table) -> table

-- Checks the existence of an entity by a unique identifier.
entities.exists(uid: int) -> bool
Expand Down
3 changes: 2 additions & 1 deletion doc/ru/scripting/builtins/libentities.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ entities.get(uid: int) -> table
-- префикс - id пака
-- имя - название компонента
-- префикс и имя компонента разделяются двумя подчеркиваниями
entities.spawn(name: str, pos: vec3, [optional] args: table)
-- Возвращает обьект сущности
entities.spawn(name: str, pos: vec3, [optional] args: table) -> table

-- Проверяет наличие сущности по уникальному идентификатору.
entities.exists(uid: int) -> bool
Expand Down
Loading