messing with code
On forum: 01/21/2010
Message edited by:
Weapons that can have scopes fitted/removed;
Gauss (I think)
L85 (I think)
Thanks, but I think you both got me wrong. What I want is a script that tells me if a weapon (e.g. the actor's current item) has a fixed scope, not an attachable one.
While there are some other scoped weapons like the SVD/SVU, their scopes are not removable AFAIK.
Exactly those weapons I want to identify by script. And generally, i.e. not only for vanilla weapons (which could be simply listed) but also for unspecified additional ones from any mod.
if scope_type(weapon) == 0 then
... -- no scope at all
elseif scope_type(weapon) == 1 then
... -- built-in scope, e.g. SVD, SVU, G36, FN2000
elseif scope_type(weapon) == 2 then
... -- attachable scope, e.g. AK74, Abakan, Groza
Something considered impossible is only something that hasn't been done yet.
☢ Dynamic Shaders: www.moddb.com/mods/dynamic-shaders