OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: snake8u2_SSS on 20 Aug 2002, 07:03:33

Title: Leader Dead
Post by: snake8u2_SSS on 20 Aug 2002, 07:03:33
simple problem i made a multiplayer co-op mission and when theres only one man left alive, he cant finish the mission cause he has no waypoints and the last leader(who is dead now)is still the leader.
Why hasnt leadership transfered to the last surviving person?

I`ve tried pushing 5-5 (Where are u)and no response from leader cause he`s dead.
 Do need to use a script??........HELP
Title: Re:Leader Dead
Post by: insanesniper on 20 Aug 2002, 11:55:33
we have kinda got it working now......just put a trigger with


condition: not alive player1
on activation: player1 join grpnull

this works......it allows 2nd person to takeover waypoints from leader.......

HOWEVA.....it returns an error msg....

'player1 join grpnull|#|': Error Type Object, expected Array

not sure why.......i don't know the exact syntax to use probably.........

HELP SOMEONE!!!!!!!!

Title: Re:Leader Dead
Post by: Black_Feather on 20 Aug 2002, 13:34:04
it should be

[player1] join grpnull
Title: Re:Leader Dead
Post by: insanesniper on 20 Aug 2002, 14:02:37
cheers, works mint now  ;D
Title: Re:Leader Dead
Post by: Sefe on 20 Aug 2002, 14:05:47
Good to hear. Please use the "solve" button when your problem is solved.