So das ganze aml erfolgreich auch Sternenpaladin Cross getestet, gibt nur ein kleines Problem. Wenn man Sie, nach der Wiederbelebung, anspricht auf Gegenstände tauschen, öffnet sich nicht ihr Inventa. Man muss sie erst feuern und dann wieder einstellen. Aber dann sind alle ihr gegebenen Gegenstände futsch!

Denke irgendwas muss an den TeammateContainer gemacht werden.

Hier mal das Skript :

Zitat Zitat
scn StarPaladinCrossSCRIPT

short HasBeenHired
short WeaponOut
short CombatStyleRanged
short CombatStyleMelee
short IsFollowingDefault
short IsFollowingShort
short IsFollowingLong
short Waiting
short DoOnce
short dead

BEGIN OnCombatEND

if ( GetPlayerTeammate == 1 )
resethealth
restoreav perceptioncondition 100
restoreav endurancecondition 100
restoreav leftattackcondition 100
restoreav leftmobilitycondition 100
restoreav rightattackcondition 100
restoreav rightmobilitycondition 100
endif

END


BEGIN OnDeath

if ( Followers.StarPaladinCrossHired == 1 )
;set Followers.PlayerHasFollower to 0
;set Followers.StarPaladinCrossHired to 0
ShowMessage FollowerMessageDeadCrosstx
set dead to 1
endif


END

BEGIN OnActivate

if dead == 1
if player.GetItemCount Stimpak >= 10
player.removeitem stimpak 10
StarPaladinCrossref.resurrect
Showmessage FollowerMessageDeadCrossResurrect
set dead to 0
elseif player.GetItemCount Stimpak == 0
activate
endif
elseif dead == 0
activate
endif

END