- Joined
- Sep 10, 2014
- Messages
- 1,733
- Reaction score
- 681
- First Language
- Americanese
- Primarily Uses
- RMVXA
When I try and run a game with Velvet Isis' script, I get this error. Line 87, specifically is: (@map_terrain_camos ||= {}) ||= VIS::TERRAIN_CAMOS
In context, the whole block is:
def terrain_camos(ter)
(@map_terrain_camos ||= {}) ||= VIS::TERRAIN_CAMOS
@map_terrain_camos
end
end
There are options to define terrain camo in lines 51-66, but I can't make heads or tails of it:
TERRAIN_CAMOS = { 1 => 60}
#These are how much Camo a Terrain Tag gives when standing on it.
#These go across all maps. Use the format: terrain_id => camo
#So right now terrain tag 1 has a Camo value of 60.
TERRAIN_CAMOS.default = 0
#This is the default camo of any undefined terrain above.
end
link to the whole script can be found here
