PreDraw Compile Error

Steigede

New member
I've gone down the rabbit hole of trying to get a melee weapon working in my adventure style game. I'm running into some problem though. I had the b active text box script loaded and everything worked fine. The moment I added the b create melee, it said label already defined. So I deleted that script and it went back to working.

Then I saw Dale_Coop's tutorial and I followed that. Ran into some issues in the script settings area so I scrapped that and deleted the scripts I added. Then when I tried to run it, it said PreDraw had an unknown label. So I added the PreDraw script back. Now I have 6 instances of Label already defined. What the hell did I do?
 

dale_coop

Moderator
Staff member
You might have duplicate of code, maybe a script assigned more than once to your project? (For example in Project Settings > Script Settings and/or in Scripts > Input Scripts).
Could you share screenshots of the scripts assigned in both “Project Settings > Script Settings” and in “Scripts > Input Scripts”?
 

Steigede

New member
Ugh, I think it's all jacked up now. I'm just going to start over. This was just a "follow tutorials" game.
 
Top Bottom