OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: bedges on 09 Jan 2005, 15:45:35

Title: passing variables...
Post by: bedges on 09 Jan 2005, 15:45:35
sigh. having sussed out how the outros work i've hit a problem. the end of this mission has the potential of going two ways, in one of which a character dies. that character then reappears in the winning outro.

now i've set up the outro to remove the character depending on a variable, but unfortunately the variable doesn't seem to be passed from the mission to the outro sequence.

any ideas?

thanks meantime.
Title: Re:passing variables...
Post by: bored_onion on 09 Jan 2005, 16:51:48
different endings maybe?

guy dies ---> end1 ---> outro win

guy lives ---> endloose ---> outro loose

this thoroughly depends on whether you already have used the outro loose or not
Title: Re:passing variables...
Post by: THobson on 12 Jan 2005, 17:24:14
I have not checked how he did it but macguba has the answe to this in his Un-Impossible Mission currently on the mission beta testing site.