OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: satchmo on 14 Jun 2003, 17:43:19

Title: Setflagside
Post by: satchmo on 14 Jun 2003, 17:43:19
Im making a CTF combined with DM map, and my problem is that i have both west and east soldiers, the west can take the flag but not the east. I have read and understood that the line init="this setflagtexture ""logo.jpg""; this setflagside east"; has this defined in it. So i tried and make it a bit longer by adding, init="this setflagtexture ""logo.jpg""; this setflagside east"; this setflagside west"; . Guess what my whole ofp tossed me back out in windows. So i guess it didnt work.

So how can i make so both west and east can take the flag?
Title: Re:Setflagside
Post by: Pope_Zog on 15 Jun 2003, 12:11:45
It's the setFlagSide bit that's causing the trouble. An east soldier can't take a flag that's also side east. Try setting the flag side to resistance. Now both sides should be able to take the flag.

If you've still got trouble getting it to work, try setting resistance friendly to none in the mission info screen - though I don't think it should matter.

Pope Zog