mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
- Fixed X-Y coordinate mixed up for CheckConditionsForTriggeringCreatureQuest (by Buggler)
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1762 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
@@ -47,11 +47,11 @@
|
|||||||
** Examples **
|
** Examples **
|
||||||
**************
|
**************
|
||||||
|
|
||||||
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
|
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
|
||||||
-- instructions
|
-- instructions
|
||||||
end
|
end
|
||||||
|
|
||||||
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
|
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
|
||||||
-- instructions
|
-- instructions
|
||||||
else
|
else
|
||||||
-- instructions
|
-- instructions
|
||||||
@@ -183,7 +183,7 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ
|
|||||||
-- Count the number of "infectible mines" the player occupies
|
-- Count the number of "infectible mines" the player occupies
|
||||||
|
|
||||||
-- SEC_D13
|
-- SEC_D13
|
||||||
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
|
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
|
||||||
ubValidMines = ubValidMines + 1
|
ubValidMines = ubValidMines + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -193,12 +193,12 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- SEC_I14
|
-- SEC_I14
|
||||||
if SectorEnemyControlled ( SECTOR(9,14) ) == false then
|
if SectorEnemyControlled ( SECTOR(14,9) ) == false then
|
||||||
ubValidMines = ubValidMines + 1
|
ubValidMines = ubValidMines + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
-- SEC_H3
|
-- SEC_H3
|
||||||
if SectorEnemyControlled ( SECTOR(8,3) ) == false then
|
if SectorEnemyControlled ( SECTOR(3,8) ) == false then
|
||||||
ubValidMines = ubValidMines + 1
|
ubValidMines = ubValidMines + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -47,11 +47,11 @@
|
|||||||
** Examples **
|
** Examples **
|
||||||
**************
|
**************
|
||||||
|
|
||||||
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
|
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
|
||||||
-- instructions
|
-- instructions
|
||||||
end
|
end
|
||||||
|
|
||||||
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
|
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
|
||||||
-- instructions
|
-- instructions
|
||||||
else
|
else
|
||||||
-- instructions
|
-- instructions
|
||||||
@@ -183,7 +183,7 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ
|
|||||||
-- Count the number of "infectible mines" the player occupies
|
-- Count the number of "infectible mines" the player occupies
|
||||||
|
|
||||||
-- SEC_D13
|
-- SEC_D13
|
||||||
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
|
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
|
||||||
ubValidMines = ubValidMines + 1
|
ubValidMines = ubValidMines + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -193,12 +193,12 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- SEC_I14
|
-- SEC_I14
|
||||||
if SectorEnemyControlled ( SECTOR(9,14) ) == false then
|
if SectorEnemyControlled ( SECTOR(14,9) ) == false then
|
||||||
ubValidMines = ubValidMines + 1
|
ubValidMines = ubValidMines + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
-- SEC_H3
|
-- SEC_H3
|
||||||
if SectorEnemyControlled ( SECTOR(8,3) ) == false then
|
if SectorEnemyControlled ( SECTOR(3,8) ) == false then
|
||||||
ubValidMines = ubValidMines + 1
|
ubValidMines = ubValidMines + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -47,11 +47,11 @@
|
|||||||
** Examples **
|
** Examples **
|
||||||
**************
|
**************
|
||||||
|
|
||||||
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
|
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
|
||||||
-- instructions
|
-- instructions
|
||||||
end
|
end
|
||||||
|
|
||||||
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
|
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
|
||||||
-- instructions
|
-- instructions
|
||||||
else
|
else
|
||||||
-- instructions
|
-- instructions
|
||||||
@@ -182,7 +182,7 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ
|
|||||||
-- Count the number of "infectible mines" the player occupies
|
-- Count the number of "infectible mines" the player occupies
|
||||||
|
|
||||||
-- SEC_D13
|
-- SEC_D13
|
||||||
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
|
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
|
||||||
ubValidMines = ubValidMines + 1
|
ubValidMines = ubValidMines + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -192,12 +192,12 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- SEC_I14
|
-- SEC_I14
|
||||||
if SectorEnemyControlled ( SECTOR(9,14) ) == false then
|
if SectorEnemyControlled ( SECTOR(14,9) ) == false then
|
||||||
ubValidMines = ubValidMines + 1
|
ubValidMines = ubValidMines + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
-- SEC_H3
|
-- SEC_H3
|
||||||
if SectorEnemyControlled ( SECTOR(8,3) ) == false then
|
if SectorEnemyControlled ( SECTOR(3,8) ) == false then
|
||||||
ubValidMines = ubValidMines + 1
|
ubValidMines = ubValidMines + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user