Here's the script of the door that spawns them (if player doesn't have quest)
Code: Select all
//Open if key was used
IfTimeOut
tmpargument = rand & 15 + 10
SetTime
tmpargument = passage
SetTargetToWhoeverIsInPassage
tmpargument = [BEMO]
IfTargetHasQuest
tmpargument = passage
OpenPassage //Yep
tmpargument = 0
SendMessageNear
Else
tmpargument = 3
SendMessageNear
tmpx = 1792
tmpy = 384
tmpdistance = selfz
tmpargument = 44
SpawnExactCharacterXYZ
tmpx = 896
tmpy = 384
tmpdistance = selfz
tmpargument = 44
SpawnExactCharacterXYZ
tmpx = 1280
tmpy = 128
tmpdistance = selfz
tmpargument = 44
SpawnExactCharacterXYZ
tmpx = 512
tmpy = 1152
tmpdistance = selfz
tmpargument = 44
SpawnExactCharacterXYZ
tmpargument = 100
SetTime
Code: Select all
IfSpawned
tmpargument = TEAME
JoinTeam