Thanks in advance! ^_^
scn vitaChamberScript short usedOnce Begin OnActivate Player ;** Change to OnTriggerEnter Player if you are using trigger instead of activation approach. if usedOnce == 0 if Player.GetHealthPercentage < 1.0 ;*** If Player has less than 100% health. set usedOnce to 1 ;**** Once it is used, it is no longer usable. Player.RestoreAV Health (20 + GetRandomPercent % 30) ;*** Heal random amount 20-50 HP. imod;*** if you want to make it similar to one from Zeta. ;*** This is a visual effect that makes screen to get blur with color. showMessage ; **** pop the message that player is healed. else showMessage ;**** pop the message if player already has 100% health. endif endif end
scn VitaChamberScript short usedOnce Begin OnTriggerEnter Player ;** Change to OnTriggerEnter Player if you are using trigger instead of activation approach. if usedOnce == 0 if Player.GetHealthPercentage < 1.0 ;*** If Player has less than 100% health. set usedOnce to 1 ;**** Once it is used, it is no longer usable. Player.RestoreAV Health (20 + GetRandomPercent % 30) ;*** Heal random amount 20-50 HP. imod CGCameraFlashISFX ;*** if you want to make it similar to one from Zeta. ;*** This is a visual effect that makes screen to get blur with color. showMessage; **** pop the message that player is healed. else showMessage ;**** pop the message if player already has 100% health. endif endif end
scn VitaChamberScript short usedOnce short healAmount Begin OnTriggerEnter Player ;** Change to OnTriggerEnter Player if you are using trigger instead of activation approach. if usedOnce == 0 if Player.GetHealthPercentage < 1.0 ;*** If Player has less than 100% health. set usedOnce to ;**** Once it is used, it is no longer usable. set healAmount to (GetRandomPercent % 30) ; 0 to 29 Player.RestoreAV Health (healAmount + 20) ;*** Heal random amount 20-49 HP. imod CGCameraFlashISFX ;*** if you want to make it similar to one from Zeta. ;*** This is a visual effect that makes screen to get blur with color. showMessage; **** pop the message that player is healed. else showMessage ;**** pop the message if player already has 100% health. endif endif end
Player.RestoreAV Health (healAmount + 20) ;*** Heal random amount 20-49 HP.