Results 1 to 5 of 5

Thread: Mission Variables

  1. #1
    Registered Looser
    Join Date
    Sep 2006
    Posts
    195
    Downloads
    0
    Uploads
    0

    Mission Variables

    This is the first Time I can't get them to work. I set Var#1 to 0 and then I try to add 1 to it. and it doesn't work. Heres my events.

    What am I doing wrong.



    Event 0: Setup

    Pre-Mission event

    Actions:

    Set Mission Var#1 to 0
    Execute WAC
    Hide Waypoints
    Show Win Subgoal 1

    Event 1: 5 1 goes for a ride

    Delay event 3 seconds

    Triggers:

    SSN 10000 is within area 1
    Actions:

    Change Group 4 AI : combat speed = 40 km/h
    Change Group 4 AI : patrol speed = 40 km/h
    Redirect group 4 to waypoint 8 - 0

    Event 2: Hummer on patrol

    Triggers:

    Group 4 reaches waypoint 8, 7
    Actions:

    Change Group 4 AI : combat speed = 25 km/h
    Change Group 4 AI : patrol speed = 25 km/h

    Event 3: Call Team Mates

    Delay event 5 seconds

    Triggers:

    Group 4 reaches waypoint 8, 10
    Actions:

    Teleport group 7 to target 1

    Event 4: Change AI for Team Mates

    Triggers:

    Event 3 has been triggered and
    SSN 10000 is within area 3
    Actions:

    Change Group 7 AI : do not guard
    Change Group 7 AI : not blind
    Redirect group 7 to nearest waypoint in list 127
    Change Group 7 AI : Yellow Alert
    Show Waypoints

    Event 5: Change variable 0 to 1

    Triggers:

    SSN 10000 has reached waypoint 1, 1
    Actions:

    Increment Mission Var#1 by 1
    Hide Waypoints

    Event 6: Send Hummer to other town

    Delay event 3 seconds

    Triggers:

    SSN 10000 is within area 3 and
    Mission Var#1 is equal to 1
    Actions:

    Change Group 4 AI : AI state to Follow Waypoint
    Change Group 4 AI : combat speed = 50 km/h
    Change Group 4 AI : patrol speed = 50 km/h
    Redirect group 4 to waypoint 12 - 0


    For some reason I can't get event 5 to work. any ideas

    Thank you

  2. #2
    Admin Bluetiereign's Avatar
    Join Date
    Aug 2002
    Posts
    2,555
    Downloads
    59
    Uploads
    3

    Re: Mission Variables

    Sometimes using the WAC to change Variables works when using MED doesn't.

  3. #3
    Registered Looser
    Join Date
    Sep 2006
    Posts
    195
    Downloads
    0
    Uploads
    0

    Re: Mission Variables

    Yes, you can but some thing was stoping it from working. I fix it

    DON'T set variables in events as Pre Mission Events. The just uncheck it and it worked. So thats a don't do option.

    When setting an event. and if you want to set it up as a pre mission event. You can do that. You just can't set variables in a pre mission event

    Thanks

  4. #4
    Admin Reaper's Avatar
    Join Date
    Oct 2002
    Location
    Nevada,USA
    Posts
    569
    Downloads
    3
    Uploads
    1

    Re: Mission Variables

    some times there is an issue when using event o with some triggers. Try and set another event in the 0 slot so the premission event moves to event 1. Then see if the evnt works then

  5. #5
    Registered Looser
    Join Date
    Sep 2006
    Posts
    195
    Downloads
    0
    Uploads
    0

    Re: Mission Variables

    Thanks any way reaper. I fix it. I had the event set as pre mission event. I just uncheck that and it works find. You just can't set variables in a pre mission event

Similar Threads

  1. A new Mission for 2006
    By ZAK in forum Comanche 4
    Replies: 18
    Last Post: 02-20-2006, 07:19 AM
  2. NEW Mission is Finish!
    By ZAK in forum Comanche 4
    Replies: 23
    Last Post: 08-22-2005, 03:59 AM
  3. Mission Icebox done!
    By Icefire in forum Comanche 4
    Replies: 1
    Last Post: 03-29-2004, 07:09 PM
  4. Mission Icebox
    By Icefire in forum Comanche 4
    Replies: 1
    Last Post: 03-25-2004, 11:06 PM

Posting Permissions

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