Home   Help Search Login Register  

Author Topic: Problems with CamCreated units  (Read 556 times)

0 Members and 2 Guests are viewing this topic.

Ace Productions

  • Guest
Problems with CamCreated units
« on: 20 Apr 2004, 13:38:53 »
Hi everybody,

How can u name a unit that was CamCreated? I used Thomas = "SoldierEB" CamCreate (GetPos GL1) where GL1 is a gamelogic unit.

The unit appers where his expected but doesn't execute any other commands in the script. When I tried something like Thomas DoMove GetPos John Thomas doesn't want to cooperate! Is there any other way to name the unit?

Offline myke13021

  • Contributing Member
  • **
  • Myke
Re:Problems with CamCreated units
« Reply #1 on: 20 Apr 2004, 14:18:55 »
why do you use camcreate? use createunit instead and then he should follow your orders without any problems.

i think, camcreated units are just "objects, that look like a soldier" but is not equipped with AI...lol...sometimes i love my descriptions ;D

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Problems with CamCreated units
« Reply #2 on: 20 Apr 2004, 17:56:44 »
I second that what myke said above - use createunit
instead of camcreate.

To name units with createunit, it would look summit like that:

crew1 = "bassoarpilot" createUnit [_pos, wpilgrp, "w1pil = this", 1, "CORPORAL"]

:note - _pos is a positional array (like you get by getpos object),
wpilgrp is an already existing group.
"w1pil = this" is the part where you would name the unit,
1 = unit's skill (value from 0 to 1)
"CORPORAL" = guess what - is the unit's rank

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

Black and White

  • Guest
Re:Problems with CamCreated units
« Reply #3 on: 21 Apr 2004, 00:29:10 »
or u can use createvehicle to create empty vehicles...

Ace Productions

  • Guest
Re:Problems with CamCreated units
« Reply #4 on: 22 Apr 2004, 12:29:45 »
My thanks to all of you guys for your replies.