Lower Pip-Boy script question

Post » Wed Dec 01, 2010 8:21 am

Hello, I've done a simple Ingestible called barber Kit, basicly that item when used raise the barber menu to change hair style. The only problem I'm having is that the barber menu show up only after lowering the Pip-Boy manually, there is a way to make the pip-boy lowering through script?

Thats how it looks my barber kit script:

scn aaaNEUROBarberKitSCRIPT; Neuro: Used as ingestible to bring up the barber menuBegin ScriptEffectStart           ShowBarberMenuEnd


As you can see is a pretty simple script and is binded to a custom EFFECT that is called from the ingestible item.
User avatar
Miranda Taylor
 
Posts: 3406
Joined: Sat Feb 24, 2007 3:39 pm

Post » Wed Dec 01, 2010 7:19 pm

May I suggest using an ARMO item rather than an ingestible?
Int bMenuFloat fTimerBegin OnEquip	Set bMenu to 1	Set fTimer to 0.5 ; Wait 0.5 secondsEnd;=========================================================Begin GameMode	If bMenu	Else		Return	EndIf	If (fTimer <= 0)		ShowBarberMenu		Set bMenu to 0		Set fTimer to 0	Else		Set fTimer to (fTimer - GetSecondsPassed)	EndIfEndIf
...then you don't have to worry about replacing the item after use. Additionally, you could set an ARMO as a "Quest Item" so it can't be lost while quest ALCH items can't be ingested.
User avatar
Kellymarie Heppell
 
Posts: 3456
Joined: Mon Jul 24, 2006 4:37 am


Return to Fallout: New Vegas