Been at it since 7:30 this morning i need help...

Post » Wed Dec 31, 2014 5:08 am

Scriptname CheckForFaction extends ObjectReference
Faction property ThievesGuildFaction auto
; make sure to fill this with the faction
Quest property TG05 auto
Quest property TG07 auto
Event OnLoad()
if !Game.GetPlayer().IsInFaction(ThievesGuildFaction) && TG05.GetStage() != 200 && TG07.GetStage() < 30
Debug.MessageBox("The player is NOT in the faction")
BlockActivation(true)
else
BlockActivation(false)
Debug.MessageBox("The player is in the faction, unlocking door")
endif
EndEvent
the door will block me out if not a member and not block me out if im a member,however when i setstage TG05 200 it doesnt block the door and still lets me activate it....ive been at this since 7:30 this morning...i need to take a break and get a shower....you see what im doing wrong?
User avatar
Jimmie Allen
 
Posts: 3358
Joined: Sun Oct 14, 2007 6:39 am

Post » Wed Dec 31, 2014 3:15 pm

Isn't that what you wanted?

If not, why is the test TG05.GetStage() != 200 in there? Should those &&'s be || ?
User avatar
Taylrea Teodor
 
Posts: 3378
Joined: Sat Nov 18, 2006 12:20 am

Post » Wed Dec 31, 2014 11:29 am

im trying to get it to act like the cemetry door...on TG05 200 the player cant use the cemetry entrance all the way until TG07 30.

ive had people helping me but im sure its not what they want to spend their time on...the bad thing is i m not to great at learning by reading books and what not,but if anybody has a clue come and chime in.

User avatar
Stacy Hope
 
Posts: 3391
Joined: Thu Jun 22, 2006 6:23 am


Return to V - Skyrim