Home   Help Search Login Register  

Author Topic: [SOLVED] Letting people heal at a vehicle  (Read 1295 times)

0 Members and 1 Guest are viewing this topic.

Offline JasonO

  • OFPEC Patron
  • ****
  • Oh no...
    • The New Life RPG
[SOLVED] Letting people heal at a vehicle
« on: 15 Aug 2007, 22:22:15 »
Hi

I have an ambulance style vehicle, and want people to be able to go up to it and get the option to Heal at it. Basiclly the same as Medic's and the M113 Ambulance.

Hopefully it's not to big to do. But was wondering if anyone knows a solution in how I can add it.

Thanks
JasonO
« Last Edit: 17 Aug 2007, 16:58:36 by JasonO »

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: Letting people heal at a vehicle
« Reply #1 on: 16 Aug 2007, 18:36:19 »
I think the key is to add the token attendant = true; in your vehicle class..
Which happens automatically if you inherit your vehicle class from, say, the BIS M113 ambulance class (M113Ambul).
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline JasonO

  • OFPEC Patron
  • ****
  • Oh no...
    • The New Life RPG
Re: Letting people heal at a vehicle
« Reply #2 on: 17 Aug 2007, 16:58:17 »
Hi h-

attendant=1 did it for me, works perfectly, cheers ;)