Jump to content

Recommended Posts

Posted

  1. trigger zone-1
  2. static unit cargo load-1 (inside zone-1)
  3. trigger unit outside zone zone-1,load-1 -> message "ok"

When the mission is running the message OK is displayed.

 

 

   ["trigrules"] = 
   {
       [1] = 
       {
           ["rules"] = 
           {
               [1] = 
               {
                   ["unit"] = 1,
                   ["coalitionlist"] = "red",
                   ["predicate"] = "c_unit_out_zone",
                   ["zone"] = 1,
               }, -- end of [1]
               [2] = 
               {
                   ["coalitionlist"] = "red",
                   ["seconds"] = 5,
                   ["predicate"] = "c_time_after",
                   ["zone"] = 1,
               }, -- end of [2]
           }, -- end of ["rules"]
           ["eventlist"] = "",
           ["actions"] = 
           {
               [1] = 
               {
                   ["seconds"] = 10,
                   ["text"] = "ok",
                   ["predicate"] = "a_out_text_delay",
                   ["ai_task"] = 
                   {
                       [1] = "",
                       [2] = "",
                   }, -- end of ["ai_task"]
               }, -- end of [1]
           }, -- end of ["actions"]
           ["predicate"] = "triggerOnce",
           ["comment"] = "Trigger 1418047735",
       }, -- end of [1]
   }, -- end of ["trigrules"]


God forgives... Spyros doesn't.

  • 2 weeks later...
Posted (edited)

I have the same error with the same version (1.2.12.34915) trying to detect a cargo unit being dropped off into a zone using standard in game triggers and zones

 

Type;

Once

 

Trigger;

Unit inside Zone

Unit "Cargo-1"

Zone "Resupply"

 

Action

Message to All "Cargo delivered"

 

I drop the cargo off in the zone ( wrapped in cotton wool so it doesn't break ;) ) but do not get the message on screen.

Edited by Highwayman-Ed

Intel i9-9900KF @5.2GHz

MSI Z390 Gaming Pro Carbon

32GB G.Skill Trident Z DDR3200 RAM

MSI RTX 2080 Ti Gaming X Trio

40" Panasonic TH-40DX600U @ 4K

Pimax Vision 8K Plus / Oculus Rift CV1 / HTC Vive

Gametrix JetSeat with SimShaker

Windows 10 64 Bit Home Edition

 

[sIGPIC][/sIGPIC]

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...