Help?

Users who are viewing this thread

#mod begins
  (ti_on_agent_dismount, 0, 0, [],
      [
    (agent_get_division , ":cur_division", 0),
    (agent_set_division, ":cur_division", 1),
  ]),
  #mod ends

So i tried to make it so that cavalry will turn into infantry when they are dismounted. It even compiled successfully but when I play the game, the cavalry don't turn into infantry division.
 
It should be like:
Code:
       #mod begins
     (ti_on_agent_dismount, 0, 0, [],
       [
        (store_trigger_param_1, ":agent"),
        (agent_set_division, ":agent", grc_infantry),
      ]),
      #mod ends
 
Back
Top Bottom