Home   Help Search Login Register  

Author Topic: setface script  (Read 1140 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?

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

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.

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

occam

  • Guest
Re:setface script
« Reply #4 on: 09 Sep 2002, 15:22:04 »


[attachment deleted by admin]