First off hello! My first post here woot woot! :p Anyhoo, I have been addicted to gE for about 2 weeks now. Ive read up and down the tutorials and forums post. I have very basic knowledge programming. I was wondering if someone could help me. What I would like to do is have a char passed into an existing function. Say for example...
void example1()
{
CreateActor("smoke", "smoke", "(none)", "(none)", rand(width)-width/2, rand(height)-height/2, false);
}
Thats all fine and dandy but what if I want it to do a different animation sequence like this...
void example2(char myString[255])
{
CreateActor("smoke", "myString[255]", "(none)", "(none)", rand(width)-width/2, rand(height)-height/2, false);
}
Obviously it does not execute properly nor does it take in the correct colors that "acknowledge" it when writing it. Is there a way to do this? I have looked in several places for proper syntax and have come up empty handed so far. I would greatly appreciate any help! Thanks!!