Results 1 to 3 of 3

Thread: Trigger to check if I have land.

Hybrid View

  1. #1

    Trigger to check if I have land.

    I have a trigger to look if I am getting in a helicopter
    "Player in heli"
    Then this trigger does this: ""3" objStatus "DONE"; player setCurrentTask obj_4"


    Now.... how can i do a trigger to check if I land in a specific location, and get out of the helicopter.

    Trigger need to be trigged when I am out of the chopper on a specific location, and make objStatus DONE on that task with "4" objStatus "DONE"; player setCurrentTask obj_5"

    But how do I check if I have landed and get out och the helicopter on a specific location?

  2. #2
    Sergeant Major SNKMAN's Avatar
    Join Date
    Aug 29 2006
    Location
    Germany ( Lake Constance )
    Posts
    1,616
    Code:
    if (heli distance targetPosition < 20 && !player in heli) then
    {
           Do what ever you want.
    };
    Last edited by SNKMAN; Jun 14 2009 at 17:00.

  3. #3
    How about looking at distance command?
    http://community.bistudio.com/wiki/distance

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •