Home   Help Search Login Register  

Author Topic: canmove quick help fer the stumped person  (Read 483 times)

0 Members and 1 Guest are viewing this topic.

Dubieman

  • Guest
canmove quick help fer the stumped person
« on: 25 Jan 2005, 23:02:57 »
Well, I cannot believe that such a simple thing can escape me. Just wondering how to get the right code in a trigger condition to see if "truck" cannot move?

Some quickie code would be appreciated. I tried the Faq andsearch and either a display of nothing or a bunch of nonsense posts appear. ::)

thanks

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:canmove quick help fer the stumped person
« Reply #1 on: 25 Jan 2005, 23:07:58 »
erm, can it be as simple as this?

Code: [Select]
canmove vehicle_name
i have a similar code working on a 'chopper's broken' switch trigger condition -

Code: [Select]
not (canmove chopper)
hope this helps
:)

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:canmove quick help fer the stumped person
« Reply #2 on: 25 Jan 2005, 23:16:11 »
Note though that canMove takes no account of fuel levels, only the state of repair of the vehicle

Dubieman

  • Guest
Re:canmove quick help fer the stumped person
« Reply #3 on: 25 Jan 2005, 23:16:49 »
Bah, my CHOFPSE is messing with my head, too many brackets and whirling colors. :D :P

Thanks bedges, forgive an older ofp person fer his mistake.
And let us never speak of it again.

*pats bedges on the back in threatening manner*:noo:

j/k ;D

cheers ;)

edit: Thobson, thanks for the info, never knew that. Shouldn't matter as the vehicles are stationary. ;)
« Last Edit: 25 Jan 2005, 23:18:10 by GuiltyRoachKillar »