mercredi 29 janvier 2014

Scripts Updates topic




With the new update a lot of scripts do not work anymore. While patiently waiting for V00d00 work on new source codes, let's see if we can fix some of them.

I'm right now working on fixing these following scripts (Not made by me):

Winning Current Heist


Code:


if managers.platform:presence() == "Playing" then
    local num_winners = managers.network:game():amount_of_alive_players()
    managers.network:session():send_to_peers( "mission_ended", true, num_winners )
    game_state_machine:change_state_by_name( "victoryscreen", { num_winners = num_winners, personal_win = true } )
end


Take your mask off


Code:


faceoff = function()
    managers.player:set_player_state( "clean" )
end


Strangely enough instant Lose Current Heist still works.
And they're pretty similar:

Code:


if managers.platform:presence() == "Playing" then
    managers.network:session():send_to_peers( "mission_ended", false, 0 )
    game_state_machine:change_state_by_name( "gameoverscreen" )
end


If anyone somehow managed to fix any of these could you please share? So i can move on and try to troubleshoot others scripts not working anymore. :)





Aucun commentaire:

Enregistrer un commentaire