本文整理汇总了Python中services.spawn.DynamicSpawnGroup.setMinSpawnDistance方法的典型用法代码示例。如果您正苦于以下问题:Python DynamicSpawnGroup.setMinSpawnDistance方法的具体用法?Python DynamicSpawnGroup.setMinSpawnDistance怎么用?Python DynamicSpawnGroup.setMinSpawnDistance使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类services.spawn.DynamicSpawnGroup
的用法示例。
在下文中一共展示了DynamicSpawnGroup.setMinSpawnDistance方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: addDynamicGroup
# 需要导入模块: from services.spawn import DynamicSpawnGroup [as 别名]
# 或者: from services.spawn.DynamicSpawnGroup import setMinSpawnDistance [as 别名]
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('tusken_raider')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setName('tuskens_wild_1')
dynamicGroup.setMaxSpawns(20)
dynamicGroup.setMinSpawnDistance(25)
core.spawnService.addDynamicGroup('tuskens_wild_1', dynamicGroup)
return
示例2: addDynamicGroup
# 需要导入模块: from services.spawn import DynamicSpawnGroup [as 别名]
# 或者: from services.spawn.DynamicSpawnGroup import setMinSpawnDistance [as 别名]
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('tusken_raider')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setName('tatooine_tusken_wild')
dynamicGroup.setMaxSpawns(5)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('tatooine_tusken_wild', dynamicGroup)
return
示例3: addDynamicGroup
# 需要导入模块: from services.spawn import DynamicSpawnGroup [as 别名]
# 或者: from services.spawn.DynamicSpawnGroup import setMinSpawnDistance [as 别名]
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('quenker_relic_reaper')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(-3)
dynamicGroup.setName('dantooine_quenker_relic')
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('dantooine_quenker_relic', dynamicGroup)
return
示例4: addDynamicGroup
# 需要导入模块: from services.spawn import DynamicSpawnGroup [as 别名]
# 或者: from services.spawn.DynamicSpawnGroup import setMinSpawnDistance [as 别名]
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('juvenile_canyon_krayt_dragon')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(6)
dynamicGroup.setName('tatooine_juvenile_krayt')
dynamicGroup.setMaxSpawns(1)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('tatooine_juvenile_krayt', dynamicGroup)
return
示例5: addDynamicGroup
# 需要导入模块: from services.spawn import DynamicSpawnGroup [as 别名]
# 或者: from services.spawn.DynamicSpawnGroup import setMinSpawnDistance [as 别名]
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('undead_deathtrooper')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(5)
dynamicGroup.setName('dathomir_deathtroopers_1')
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setMinSpawnDistance(10)
core.spawnService.addDynamicGroup('dathomir_level_5_deathtroopers', dynamicGroup)
return
示例6: addDynamicGroup
# 需要导入模块: from services.spawn import DynamicSpawnGroup [as 别名]
# 或者: from services.spawn.DynamicSpawnGroup import setMinSpawnDistance [as 别名]
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('adolescent_krayt_dragon')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(1)
dynamicGroup.setName('adolescent_krayt_wild_1')
dynamicGroup.setMaxSpawns(1)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('adolescent_krayt_wild_1', dynamicGroup)
return
示例7: addDynamicGroup
# 需要导入模块: from services.spawn import DynamicSpawnGroup [as 别名]
# 或者: from services.spawn.DynamicSpawnGroup import setMinSpawnDistance [as 别名]
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add("krayt_dragon_ancient")
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(1)
dynamicGroup.setName("krayt_dragon_ancient_1")
dynamicGroup.setMaxSpawns(1)
dynamicGroup.setMinSpawnDistance(5)
core.spawnService.addDynamicGroup("krayt_dragon_ancient_1", dynamicGroup)
return
示例8: addDynamicGroup
# 需要导入模块: from services.spawn import DynamicSpawnGroup [as 别名]
# 或者: from services.spawn.DynamicSpawnGroup import setMinSpawnDistance [as 别名]
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('bol')
mobileTemplates.add('bol_pack_runner')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(2)
dynamicGroup.setName('dantooine_bol')
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('dantooine_bol', dynamicGroup)
return
示例9: addDynamicGroup
# 需要导入模块: from services.spawn import DynamicSpawnGroup [as 别名]
# 或者: from services.spawn.DynamicSpawnGroup import setMinSpawnDistance [as 别名]
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add("outbreak_afflicted_lvl_15")
mobileTemplates.add("outbreak_deathtrooper_lvl_15")
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(-5)
dynamicGroup.setName("dathomir_quarantine_lvl_15")
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setMinSpawnDistance(10)
core.spawnService.addDynamicGroup("dathomir_quarantine_lvl_15", dynamicGroup)
return
示例10: addDynamicGroup
# 需要导入模块: from services.spawn import DynamicSpawnGroup [as 别名]
# 或者: from services.spawn.DynamicSpawnGroup import setMinSpawnDistance [as 别名]
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('piket_longhorn')
mobileTemplates.add('piket_longhorn_female')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(-3)
dynamicGroup.setName('dantooine_piket')
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('dantooine_piket', dynamicGroup)
return
示例11: addDynamicGroup
# 需要导入模块: from services.spawn import DynamicSpawnGroup [as 别名]
# 或者: from services.spawn.DynamicSpawnGroup import setMinSpawnDistance [as 别名]
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('dark_jedi_master')
mobileTemplates.add('dark_jedi_knight')
mobileTemplates.add('dark_adept')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(3)
dynamicGroup.setName('dark_jedi_wild_1')
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('dark_jedi_wild_1', dynamicGroup)
return
示例12: addDynamicGroup
# 需要导入模块: from services.spawn import DynamicSpawnGroup [as 别名]
# 或者: from services.spawn.DynamicSpawnGroup import setMinSpawnDistance [as 别名]
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('thune')
mobileTemplates.add('thune_grassland_guardian')
mobileTemplates.add('thune_herd_leader')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(-3)
dynamicGroup.setName('dantooine_thune')
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('dantooine_thune', dynamicGroup)
return
示例13: addDynamicGroup
# 需要导入模块: from services.spawn import DynamicSpawnGroup [as 别名]
# 或者: from services.spawn.DynamicSpawnGroup import setMinSpawnDistance [as 别名]
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('slinking_voritor_hunter')
mobileTemplates.add('horned_voritor_jungle_lizard')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(1)
dynamicGroup.setName('voritors_wild_1')
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setGroupMembersNumber(-5)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('voritors_wild_1', dynamicGroup)
return
示例14: addDynamicGroup
# 需要导入模块: from services.spawn import DynamicSpawnGroup [as 别名]
# 或者: from services.spawn.DynamicSpawnGroup import setMinSpawnDistance [as 别名]
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('perlek')
mobileTemplates.add('perlek_ravager')
mobileTemplates.add('perlek_scavenger')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(3)
dynamicGroup.setName('lok_perlek')
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('lok_perlek', dynamicGroup)
return
示例15: addDynamicGroup
# 需要导入模块: from services.spawn import DynamicSpawnGroup [as 别名]
# 或者: from services.spawn.DynamicSpawnGroup import setMinSpawnDistance [as 别名]
def addDynamicGroup(core):
dynamicGroup = DynamicSpawnGroup()
mobileTemplates = Vector()
mobileTemplates.add('rancor')
mobileTemplates.add('rancor_pygmy')
mobileTemplates.add('rancor_youth')
dynamicGroup.setMobiles(mobileTemplates)
dynamicGroup.setGroupMembersNumber(2)
dynamicGroup.setName('dathomir_rancor')
dynamicGroup.setMaxSpawns(-1)
dynamicGroup.setMinSpawnDistance(150)
core.spawnService.addDynamicGroup('dathomir_rancor', dynamicGroup)
return