OK, i have a couple of questions,
1. in my map there is a part where i am froze to the spot, while a few visual things happen, after the visuals are over, a few script areas are activated (AddEntityCollideCallback). If One of these areas are activated whilst i am inside it, will the alState be 1? or will it be undefined untill i leave and reenter it?
2. how do i convert an integer into a string and vica versa? eg
void OnStart()
{
for(int i=0, i<10, i++)
{
AddEntityCollideCallback("Player , i , Collide , False , 1);
}
AddLocalVarInt("Number" , 0);
}
void Collide(string &in asParent , string &in asChild , int &in alState)
{
SetLocalVarInt("Number" , asChild);
}
in this code i is an integer not a string, so it wont work in the AddEntityCollideCallback, also, asChild is not an integer, so it wont work in the SetLocalVarInt, help?