Global and Public Varibles
Posted: Sat Mar 11, 2017 9:55 pm
Is there a way to store information even after the map is reset?
It tried to use a script to prevent player movement before the countdown in Co-op Survival but i cant prevent the OPEN and ENTER from running twice,
also the RETURN does not get triggered and REOPEN does not even want to compile, so how would i store mod data across maps and levels?
It tried to use a script to prevent player movement before the countdown in Co-op Survival but i cant prevent the OPEN and ENTER from running twice,
also the RETURN does not get triggered and REOPEN does not even want to compile, so how would i store mod data across maps and levels?
Code: Select all
#library "CVARS"
#include "zcommon.acs"
int counter = 0;
script 1001 OPEN
{
while (counter < 1000)
{
Delay(3);
counter++;
print(d:counter);
Delay(3);
}
}