Object setscale(1) when player grabs

Post » Sun Apr 26, 2015 9:52 am

Hello,

In a player House mod I'm making, I've created a display system that reduce the size of the displayed weapon (scale is actually sent to 0.83 in order to fit with the display case I created). But I'm still unable to get the weapon back to scale 1 when the player takes it back.

The script should only applied to weapon displayed in this particular room to avoid conflict with other mods. I thought about a trigger zone with a script attached to it that makes every grabbed object in this zone return to scale 1... maybe via a spell cast to the player inside the zone... but I'm not skilled enough to get it right...

Or maybe there is a simpler way... any idea of a way to do it?

Thank you.

User avatar
Franko AlVarado
 
Posts: 3473
Joined: Sun Nov 18, 2007 7:49 pm

Post » Sun Apr 26, 2015 5:40 am

Once the player takes it, the object is reset to its original scale. :)

User avatar
Charlotte Henderson
 
Posts: 3337
Joined: Wed Oct 11, 2006 12:37 pm

Post » Sat Apr 25, 2015 11:24 pm

This is strange because, the first time I tried my display system, the grabbed weapon was indeed reset to scale 1. But since I had to attached the weaponracktriggerscript directly to the reference (for some reasons) , and not simply rely on the script attached to the baseObject "trigger", it doesn't work anymore, and the grabbed object stays at scale 0.83.

User avatar
Elle H
 
Posts: 3407
Joined: Sun Aug 06, 2006 3:15 am


Return to V - Skyrim