Lua script
This commit is contained in:
@@ -8,5 +8,8 @@
|
||||
<Entity classname="TempPlayer">
|
||||
<IsDisableled value="false" />
|
||||
</Entity>
|
||||
<Entity classname="game_object">
|
||||
<IsDisableled value="false" />
|
||||
</Entity>
|
||||
</Entities>
|
||||
</Level>
|
||||
</Level>
|
||||
@@ -1,8 +1,13 @@
|
||||
-- Game initialization script
|
||||
|
||||
-- загружаем скрипты
|
||||
load_script("game_object.lua")
|
||||
|
||||
-- глобальная таблица сущностей
|
||||
g_entity_table = {
|
||||
-- Lua class -- CPP class -- Description
|
||||
{ "actor_player", "ActorBase", "Player actor entity" }
|
||||
|
||||
{ "game_object", "Entity", "Test Lua Entity" }
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user