TheGameCreators / FPS-Creator-Classic

Source code and files for FPS Creator Classic
http://www.thegamecreators.com
315 stars 91 forks source link

PLRUSINGRELOAD does not work #129

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load a stock map
2. Use a script anywhere in the map with the said action
3. Try to utilize it's function

What is the expected output? What do you see instead?
You should see a result only when you reload, not all the time.

What version of the product are you using? On what operating system?
Windows 7, v1.19 BETA 4

Please provide any additional information below.
I believe this can be fixed by changing one of the airesult=1 functions to 
airesult=0 in the segment from the source below:

"case AICONDPLRUSINGRELOAD:
   airesult=1
   if aiconditionseq(seq).valuea>1 then aiconditionseq(seq).valuea=1
   if plrkeyR<>aiconditionseq(seq).valuea then airesult=0
   endcase

   case AICONDPLRONGROUND:
      airesult=0
        if abs(grav#)<5.5 and jumpaction=0 and physuspendgravity=0 and aiconditionseq(seq).valuea=1
         airesult=1
         endif

        if abs(grav#)>5.5 and jumpaction=0 and physuspendgravity=0 and aiconditionseq(seq).valuea=0
        airesult=1
        endif"

Original issue reported on code.google.com by dinobo...@gmail.com on 21 Dec 2011 at 11:40

GoogleCodeExporter commented 8 years ago
Accepted and fixed.

Original comment by TheScene...@gmail.com on 22 Dec 2011 at 10:31