Working on taxi logic
This commit is contained in:
1 parent
77c8471636
commit
b94f02bd77
10 files changed
+95
-15
No files matched your search
@@ -244,6 +244,7 @@ game_api.set_location_callbacks(
|
||||
print("Enter location dorm")
|
||||
local hp = game_api.getFloatValue("player_hp")
|
||||
game_api.set_player_hp(hp)
|
||||
game_api.set_teleport_active(0, false)
|
||||
end,
|
||||
function()
|
||||
print("Exit location dorm")
|
||||
@@ -257,5 +258,13 @@ game_api.deactivate_interactive_object("Room_Cover_LivingRoom_W_N_2_001")
|
||||
game_api.rotate_object("Door_Utility_-1_1_2_Leaf_001", 90, 0.01, nil)
|
||||
game_api.rotate_object("Door_Utility_-1_-1_2_Leaf_001", -90, 0.01, nil)
|
||||
|
||||
game_api.set_call_taxi_callback(
|
||||
function()
|
||||
game_api.set_teleport_active(0, true)
|
||||
game_api.set_trigger_zone_enabled(0, false)
|
||||
end
|
||||
)
|
||||
|
||||
|
||||
game_api.switch_navigation(0)
|
||||
print("Lua script loaded successfully--!")
|
||||
Reference in new issue
Block a user