So I made a combat system, and for the life of me i cannot figure out how to make it start automatically. It does run, but it ignores the function at the beginning and doesn't run it. There is a similar text adventure I looked at as an example for my own project, and it runs just fine, and it is fundamentally the same as mine in the beginning. Is there a way to call functions outside of a function not in IDE?
Zaffron
0
Newbie Poster
Recommended Answers
Jump to PostWhat do you mean by call functions outside of a function not in an IDE? And can you post your code?
Jump to PostIt works. Just a hint, you do not need to repeat the statements of the global variables in each function.
All 6 Replies
kolosick.m188
2
Junior Poster in Training
Zaffron
0
Newbie Poster
kolosick.m188
2
Junior Poster in Training
hoym74
0
Newbie Poster
tomtetlaw
-1
Posting Pro
Zaffron
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.