OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Captain Crunch on 24 Jan 2004, 03:57:01

Title: Switch sides!
Post by: Captain Crunch on 24 Jan 2004, 03:57:01
I would like to use a unit which is on the civilian side because of its textures. I was trying to set him o the resistance side but I can't work it out. In the "Init" field when I type "Side", a popup line appears saying "SideFriendly" or "SideEnemy". I try different syntax to work it out since these are neither in the comref or online comref.

  When I type "SideFriendly" and press enter, I get an error message (of course) that sazs "Type Side, expected nothing"

Does anyone know the right syntax for that one???

Many thanks in advance!!



Title: Re:Switch sides!
Post by: j-man on 24 Jan 2004, 09:08:16
Its possible to change a units side in game. What you can do is, in the editor,  create a resistance officer, group the civilian with that officer and then in the officers init field type,
Code: [Select]
deletevehicle this That should add the civ to the resistance ;)
Title: Re:Switch sides!
Post by: Captain Crunch on 24 Jan 2004, 09:19:44
oh ya!! Thanks man!!!

     ;)