Added Global Variable in settings for the last known location and is updated when player starts coughing
This commit is contained in:
@ -20,10 +20,12 @@ func set_condition(con):
|
||||
$Node3D/VapeLight.off()
|
||||
$"Coughing Recovery".start()
|
||||
$"Severe Coughing Timer".stop()
|
||||
GlobalSettings.Player_Last_Location = global_transform.origin
|
||||
CONDITION.SEVERE_COUGHING:
|
||||
$Node3D/VapeLight.off()
|
||||
$"Severe Coughing Recovery".start()
|
||||
$"Coughing Timer".stop()
|
||||
GlobalSettings.Player_Last_Location = global_transform.origin
|
||||
|
||||
var will_cough = false
|
||||
var timealive = 0
|
||||
|
||||
Reference in New Issue
Block a user