r1818 arguments warning possible error

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: r1818 arguments warning possible error

Re: r1818 arguments warning possible error

by Graf Zahl » Mon Sep 14, 2009 2:18 pm

Actually UsePuzzleItem uses all arguments. It's UsePuzzleItem(item, script, arg1, arg2, arg3)!

Re: r1818 arguments warning possible error

by Gez » Mon Sep 14, 2009 1:27 pm

randy wrote:(Hopefully all the argument counts in actionspecials.h are accurate. I found a few that were wrong.)

r1818 arguments warning possible error

by Enjay » Mon Sep 14, 2009 1:17 pm

Loading the Zdoom Community Map gives this:

Code: Select all

MAP01 - Zdoom Comunity Map #1

Line 4160 (type 129:UsePuzzleItem), arg 2 is 11 (should be 0)
Line 23556 (type 130:Thing_Activate), arg 2 is 2 (should be 0)
The second one is fair enough, that seems to be a genuine error. However, I think that the first one might be incorrect. According to the Wiki:
Wiki wrote:129:UsePuzzleItem (item, script)

* item: Puzzle artifact number
* script: Script to execute
Checkin the line in question it has its first argument set to 13 (to allow it to be used by the puzzle gear) and the second argument is set to 11 to get it to run script 11, which it does. All other arguments are set to 0.

I don't see anything wrong there, yet Zdoom is reporting it as an error.

Top