When a unit reaches an ammo crate, he activates a trigger removing a particular number of magazines from himself, and adding those magazines to an ammo crate and i also need this to happen the other way around. My ammo crate is called "stash", and the unit named "bob".
How do i set up the trigger so that when it is activated, the magazines are removed from bob into the crate.
so far i have this in the activate field of the trigger
bob removemagazine ["rpo_obj2", 10]; stash addmagazinecargo ["rpo_obj2", 10]
however i get the phrase "removemagazine: Type Any, expected object.
what have i done wrong?