Ryuk3601 Posted December 30, 2017 So I need some help about these. 1. Have a switch, actually this switch is a display. I open a gate with this but for this first I have to turn on another switch. How can I do this using ACS script? 2. How can I count marines, I mean I have to kill 5 in a room and a key appear in the same room. I din't find anything about Marines. I would appropriate any help. 0 Share this post Link to post
scifista42 Posted December 30, 2017 1. Something like this, where each script is activated by one of the switches: #include "zcommon.acs" int i; script 1 (void) { i = 1; } script 2 (void) { if(i==1) { // Do something } } 2. Either give a specific tag to the marines and use ThingCount to count things with this tag regardless of their type, or use ThingCountName to count the marines by their class names. 1 Share this post Link to post
Ryuk3601 Posted December 31, 2017 Thanks a lot for the fast support! :D HappyNewYear! ;) 0 Share this post Link to post