TR_m3_q_9_velk_dag
TR_Mainland.esm
Variables
2
Local Variables
xPos
yPos
Source
1begin TR_m3_q_9_velk_dag
2
3long xPos
4long yPos
5
6if ( GetJournalIndex "TR_m3_Do_Velk" >= 100 )
7 if ( xPos == 1 )
8 AITravel 53526 -180712 263
9 set xPos to -1
10 endif
11 return
12endif
13
14Set xPos to GetPos X
15Set yPos to GetPos Y
16
17if ( xPos >= 54400 )
18 Set xPos to 0
19elseif ( xPos >= 52871 )
20 Set xPos to 1
21else
22 Set xPos to 0
23endif
24
25if ( yPos >= -178963 )
26 Set yPos to 0
27elseif ( yPos >= -181159 )
28 Set yPos to 1
29else
30 Set yPos to 0
31endif
32
33if ( xPos == 1 )
34 if ( yPos == 1 ) ;velk in paddock
35 Journal "TR_m3_Do_Velk" 100
36 RemoveEffects 118
37 endif
38endif
39
40end