Divergent/mods/[DEV] Custom Traders/gamedata/scripts/custom_traders.script

16 lines
475 B
Plaintext

function actor_on_first_update()
artem_trader_init()
end
function on_game_start()
RegisterScriptCallback("actor_on_first_update",actor_on_first_update)
RegisterScriptCallback("npc_on_net_spawn", npc_on_net_spawn_1)
end
function artem_trader_init()
if HI("bar_deactivate_radar_done") then
local pos = vector():set( -7.0992422103882,23.103616714478,245.94242858887 )
local se_obj = alife_create( "artem_trader", pos, 703991, 4556 )
end
end