Home   Help Search Login Register  

Author Topic: [g] join player;  (Read 683 times)

0 Members and 2 Guests are viewing this topic.

Darkninja

  • Guest
[g] join player;
« on: 30 Jan 2004, 19:41:13 »
I want this to work via a spawn script. But I get no AI reactions. He spawns but is braindead and doesn't join my group.

Whats the matter?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:[g] join player;
« Reply #1 on: 30 Jan 2004, 19:50:16 »
We need more info - it'll probably help if you post the script.
Plenty of reviewed ArmA missions for you to play

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:[g] join player;
« Reply #2 on: 30 Jan 2004, 20:23:04 »
I'll bet my money on that you haven't named the created unit in the spawn script properly.
But as macman there said..
Not all is lost.

Darkninja

  • Guest
Re:[g] join player;
« Reply #3 on: 30 Jan 2004, 22:42:35 »
g="EGeneral" createvehicle getpos player; [g] join player;

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:[g] join player;
« Reply #4 on: 30 Jan 2004, 23:12:55 »
Ah well, there we are.    A classic case of "using a command that looks like its the right one but isn't."   Don't use createVehicle, that's more for like creating empty vehicles.   When you want to spawn a working AI unit use createUnit instead.  

Check the online command reference for a couple of examples.
Plenty of reviewed ArmA missions for you to play