Home   Help Search Login Register  

Author Topic: How to know the weapon the player had when the mission ended in order to...  (Read 1011 times)

0 Members and 1 Guest are viewing this topic.

seanver

  • Guest
How to know the weapon the soldier had when the mission ended in order to make the player have that weapon in the outro of the mission. With resistance, obviosly.

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
I believe ya need to use the "WeapoPool" spell  :)

vektorboson

  • Guest
Execute this when mission ends:

Code: [Select]
_xx = player saveStatus "StatusPlayer"


Execute this in you outro.sqs (or whatever you called it):

Code: [Select]
_xx = actor loadStatus "StatusPlayer"

I don't know if this works in intros and outros but it works in campaigns and in single-missions