Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
setface script
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: setface script (Read 1136 times)
0 Members and 1 Guest are viewing this topic.
Donnervogel
Guest
setface script
«
on:
25 Aug 2002, 12:49:19 »
I wanted to make a "setface" script to set random faces to custom units like Viet Cong units from the NAM Pack.
But I can't find a way arround the foreach function wich doesn't work because the setface command uses " chars.
This is a problem that I encounter very often. Is there another method for array walktroughs?
Logged
Vyper
Guest
Re:setface script
«
Reply #1 on:
25 Aug 2002, 15:03:37 »
How exactly do you put faces on the nam pack guys anyway?
I tried putting the face picture boards in the mission folder and in the init field typing - This setface "SEBnva4" - or whatever...but it didn't work?
Vyper
Logged
Donnervogel
Guest
Re:setface script
«
Reply #2 on:
25 Aug 2002, 15:30:29 »
you don't need to put them in the mission folder. Just install the NAM Pack correctly and then the VC (or NVA) faces are sebvcface1-10
put
this setface "sebvcface1"
or
this setface "sebvcface2"
...
in the init line of a VC or NVA unit.
But it's time consuming to do it that way. Thats the reason why I wanted to make a script for it.
Logged
Vyper
Guest
Re:setface script
«
Reply #3 on:
25 Aug 2002, 15:45:37 »
nice one, and the US faces work the same way?
this setface "sebwhateveritscalledjobbies"
perfec, thanks a lot!
Vyper
Logged
occam
Guest
Re:setface script
«
Reply #4 on:
09 Sep 2002, 15:22:04 »
[attachment deleted by admin]
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
setface script
Top of page