Jump to content

Help with coding!


lowenp

Recommended Posts

So, so far, I'm editing something using FO3Edit. Just a test thing.

 

AND I'm stuck on one condition-effect.

 

The condition is currently:

 

Type: Equal to

Comparison: 1.00000000

Function: IsSneaking

Run On: Subject

 

How do I make it so that the function will check if the main char. has his/her weapons drawn out? I want to make the condition so that it will only activate if the PC's weapon is stowed. Help?

Link to comment
Share on other sites

GetIs ItemRef Equipt

 

GetIs ItemRef Unequipt

 

idk how Fo3Edit works as ive never used it but this is usualy done via script or a scripted activator

 

**or possibly

 

SCN MyScriptName

Begin OnEquipt

If player.equipt WeaponReferanceHere
  pms fireball1

endif

If player.unequipt WeaponReferanceHere
 Playgroup SpecialIdle 1
endif
end

 

this script will play a magic shader on the player when the weapon is equipt

and play the idle animation for doing nothing when the weapon is unequipt.

 

if thats the kinda thing you were looking for

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

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