Jump to content

Getting base actor scale


Knabber

Recommended Posts

Posted

Does anyone know if it is possible to get the scale of the actor template / base object?

 

If I call .getScale on an actor, I always get 1.00. However if I call it on a Radscorpion for example I get 1.00 (0.60).

Is it possible to get that 0.60 as a return value?

 

One can get the Base object with .GetBaseObject , but calling .getscale on that results in 0.

I have tried

    Set rBase to rActor.GetBaseObject
    Set fActorScale to rBase.GetScale

to no avail.

 

Has anyone got ideas? Otherwise I will try to solve this with form lists, not elegant, but it should work.

 

 

Posted

Does anyone know if it is possible to get the scale of the actor template / base object?

 

If I call .getScale on an actor, I always get 1.00. However if I call it on a Radscorpion for example I get 1.00 (0.60).

Is it possible to get that 0.60 as a return value?

 

One can get the Base object with .GetBaseObject , but calling .getscale on that results in 0.

I have tried

    Set rBase to rActor.GetBaseObject
    Set fActorScale to rBase.GetScale

to no avail.

 

Has anyone got ideas? Otherwise I will try to solve this with form lists, not elegant, but it should work.

I don't think so, I found that problem with offspring, the SetScale is basically a percentage of the GECK actor setting. Maybe NVSE has a command you might use.

Posted

The first thing I did was comb trough the geck and nvse function page but did not find anything, so I asked here. Guess that means there is currently no way to get the information via scripting.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...