Home   Help Search Login Register  

Author Topic: Caravan problem  (Read 949 times)

0 Members and 1 Guest are viewing this topic.

Specnaz

  • Guest
Caravan problem
« on: 25 Oct 2002, 23:33:04 »
Hi there!, ok so here's the problem, I have some tutorial for making caravan..but thats not problem, ..... when I write this line in the init field: aP == driver Car1 AND Sol == driver Car2 AND Cap in Car2;
I recieve error : "expected Bold blah blah" or something like that...I also have the same problem when I want to side player I tape side == east (I dont know exact how it goes but same error shows! how to write those two correctly? thx! ;)

Gameer_77

  • Guest
Re:Caravan problem
« Reply #1 on: 26 Oct 2002, 00:01:06 »
Cause to seperate commands in the init and onactivation, you use ';' not 'AND' :)

 8)PEACE

Specnaz

  • Guest
Re:Caravan problem
« Reply #2 on: 26 Oct 2002, 01:54:58 »
jup, I tryed to write as you said, this is exact as I wrote:
aP == driver Car1; Sol == driver Car2; Cap in Car2;
and in second try
aP == driver Car1 AND Sol == driver Car2 AND Cap in Car2;
neither of these didn't worked, what shall I do?


Specnaz

  • Guest
Re:Caravan problem
« Reply #3 on: 26 Oct 2002, 01:56:59 »
P.S. I always recieve message: "Type Bool, expected Nothing" :joystick:

Gameer_77

  • Guest
Re:Caravan problem
« Reply #4 on: 26 Oct 2002, 20:58:57 »
Ok, lets get something straight:

You do not put conditional code into the init and onactivation. This includes "Cap in Car2". This would check if Cap is in Car2. Therefore, would not work in an init.

Second, I may or may not be right about this, but you might need to do this to the first two bits of code:

aP == (driver Car1); Sol == (driver Car2);

I might be talking bull here, and don't reply if i am  ;D, but thats what i would do. :toocool:

 8)PEACE

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Caravan problem
« Reply #5 on: 26 Oct 2002, 21:11:19 »
Quote
I write this line in the init field

u mean condition field of triger ? - cuz if not it wil surly dont work  ;D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Gameer_77

  • Guest
Re:Caravan problem
« Reply #6 on: 26 Oct 2002, 23:08:01 »
No, i think he means he put that code in the init of the unit.

The problem is, he has got some code which should not be in an init or onactivation.

 8)PEACE

Specnaz

  • Guest
Re:Caravan problem
« Reply #7 on: 27 Oct 2002, 14:35:30 »
Thank U Gameer_77 , I did it, and I won't bother you on PM anymore  :cheers: