L0FKA / fallout-script-validator

Automatically exported from code.google.com/p/fallout-script-validator
0 stars 0 forks source link

Incorrect errors (New Vegas): declaring variables inside a block, damagethreshold actorvalue #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What input will reproduce the problem?

1. Declaring a variable within a BlockType such as OnHit.
2. Trying to use [object.]getav damagethreshold

What is the expected output? What do you see instead?

1. It is possible to declare local variables inside a Begin/End Block.
This is used in the 'Boxing' items by the developers themselves.
There should be no error.

2. DamageThreshold works as an actor value. There should be no error.

What internet browser and operating system are you using?

Firefox, Windows 7

Please provide any additional information below.

Just false errors that your script validator reports on despite them compiling 
and working in-game just fine. Everything was done in an
OnHit blocktype in New Vegas.
The validator 'mode' is definitely set to Fallout: New Vegas.

Original issue reported on code.google.com by James.Da...@gmail.com on 8 Feb 2011 at 7:14

GoogleCodeExporter commented 9 years ago
Error for variable declaration within Begin/End blocks changed to a warning in 
revision r39.

Original comment by Cipscis on 11 Oct 2011 at 2:49

GoogleCodeExporter commented 9 years ago

Original comment by Cipscis on 11 Oct 2011 at 2:52

GoogleCodeExporter commented 9 years ago
Revision r47 made it easy to use different sets of actor values between Fallout 
3 and New Vegas. Whether this "DamageThreshold" actor value is valid for both 
games or just one needs to be investigated before it's added to the dictionary.

Original comment by Cipscis on 12 Oct 2011 at 2:51