OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: bedges on 22 Nov 2005, 14:56:51

Title: side as "ENEMY"...
Post by: bedges on 22 Nov 2005, 14:56:51
i encountered this before with resistance loons, in that when you hint the loon's side it reads GUER, but if you use that in a script it won't be recognised - it has to be RESISTANCE.

same thing's happening with the ENEMY side. that's what hints back, but when i try to use it in a script it's not recognising the side type.

i managed to get the thing working by subtracting all the other sides from the equation, but just for reference, anyone know the proper scripting name for ENEMY?
Title: Re:side as "ENEMY"...
Post by: Killswitch on 23 Nov 2005, 22:58:18
Code: [Select]
side     string representation
-----------------------
east        - "EAST"
west        - "WEST"
resistance  - "GUER"
civilian    - "CIV"
sideLogic   - "LOGIC"
sideEnemy   - "ENEMY"
Title: Re:side as "ENEMY"...
Post by: Planck on 23 Nov 2005, 23:04:50
I do believe there is also 'sideFriendly'


Planck
Title: Re:side as "ENEMY"...
Post by: bedges on 24 Nov 2005, 08:37:49
excellent. thanks gents :)