OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: seanver on 31 Aug 2002, 22:57:02
-
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.
-
I believe ya need to use the "WeapoPool" spell :)
-
Execute this when mission ends:
_xx = player saveStatus "StatusPlayer"
Execute this in you outro.sqs (or whatever you called it):
_xx = actor loadStatus "StatusPlayer"
I don't know if this works in intros and outros but it works in campaigns and in single-missions