that works really well, thank you.
there are just 2 more questions, i could figure this out myself, but i wanna get this script released soon;
i need to make the number remaining, refresh when a trigger in game is activated. so it changes the action text.
i also need a way of making the action reappear incase the mission accidentally deletes it.
surdus
EDIT: actually on second thoughts forget about the making it immune to deletion part, since if the editor does accidenty delete it then its his/her own fault
but what would be handy, is the first one.
its just the same as with mines, only harder, when you use a mine, the number in the action menus goes down one, and when you pick up another mine, it goes up, so i want something like that.
surdus again