• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Gate with uid quest for pass

Verrine

Member
Joined
Mar 2, 2016
Messages
117
Reaction score
7
Hi!
im creating quest but i dont know how to script doors that i can pass only if i finished quest
Can someone help me?
 
I dont know if that changes with distro..
But the default is you just give that quest door a certain unique id
then when the player has the unique id as storage set to 1 he can pass

example:
- place a quest door, give it uid 25000
- player has storage 25000 = 1 -> he can pass
- player has storage 25000 = 0 or storage 25000 = -1 or storage 25000 > 1 he cant pass

this should be the default,
and that's how I have it in my ot
 
Alternatively you can also make an onStepIn script to check for a storage value.
 
i just did that:
Doors had Action ID 500
npc sets storage value 500
when npc set it dors work dont know if its good but it work well withoud adding
 
Back
Top