Actor Effects help

Post » Thu Mar 24, 2011 7:57 pm

http://www.box.net/shared/oy1bmne51n (The 'sample' is a little blurry, but it eventually loads the full-sized image when you go fullscreen.)

Please excuse me if this is a little remedial, I am still very new to this. ^_^;

I am trying to create an effect during a sandstorm, but only if the player is not wearing any 'glasses/eyes' slot apparel. Could anyone please instruct me which function I aught to be using? The closest I can get is 'GetIsUsedItemEquipType' Head wear. :/

At the moment, the effect would just be something simple, like the -4 Perception penalty. But I was hoping to learn how to add a visual effect, like blurred vision. If anyone could explain how, or link to a tutorial, I would be very grateful.

Thank you, anyway. :)
User avatar
Krista Belle Davis
 
Posts: 3405
Joined: Tue Aug 22, 2006 3:00 am

Post » Thu Mar 24, 2011 8:42 am

Use http://geck.gamesas.com/index.php/GetEquipped

A return value of '0' means they are not equipped.
User avatar
Elena Alina
 
Posts: 3415
Joined: Sun Apr 01, 2007 7:24 am

Post » Thu Mar 24, 2011 9:47 am

Mm, my problem with that is it requirs an object ID, rather than just anything using the eyeslot, which would probably end up being a formlist of 'protective eyeware' if I went that route. But that wouldn't be very compatible with other mods without special adjustments for each. :/
User avatar
Nuno Castro
 
Posts: 3414
Joined: Sat Oct 13, 2007 1:40 am

Post » Thu Mar 24, 2011 12:16 pm

Use http://fose.silverlock.org/fose_command_doc.html#GetEquippedObject, poll slots 0 11 14 and test them for != 0.

For the blur effect, use an imagespacemodifier.
User avatar
Erich Lendermon
 
Posts: 3322
Joined: Sat Nov 03, 2007 4:20 pm

Post » Thu Mar 24, 2011 1:28 pm

Mm, that went a little over my head. ^_^;

I can't pretend I understand what anything after "getEquippedObject" means, but thank you all the same. I guess I need to make an attempt at scripting, and hopefully it falls in to place and makes sense. :3
User avatar
Nick Pryce
 
Posts: 3386
Joined: Sat Jul 14, 2007 8:36 pm


Return to Fallout 3