2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_Game_CalculateClassSC extends ObjectReference
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; EVENTS
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
|
|
|
|
if akActionRef == PlayerREF
|
|
|
|
iMemoryPointsOnEnter = TalentPoints.GetValueInt()
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
|
|
|
|
Event OnTriggerLeave(ObjectReference akActionRef)
|
|
|
|
|
|
|
|
if akActionRef == PlayerREF
|
|
|
|
Player.GetPlayerClass()
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; PROPERTIES
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
int iMemoryPointsOnEnter
|
|
|
|
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
|
|
|
|
GlobalVariable Property TalentPoints Auto
|
|
|
|
|
2023-12-19 05:02:55 +00:00
|
|
|
_00E_AffinityControl Property Player Auto
|