当前位置: 首页>>代码示例>>Python>>正文


Python DynamicSpawnGroup.setMinSpawnDistance方法代码示例

本文整理汇总了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
开发者ID:Adoyser,项目名称:NGECore2,代码行数:12,代码来源:tuskens_wild_1.py

示例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
开发者ID:Demannu,项目名称:NGECore2,代码行数:12,代码来源:tatooine_tusken_wild.py

示例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
开发者ID:Demannu,项目名称:NGECore2,代码行数:13,代码来源:dantooine_quenker_relic.py

示例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
开发者ID:Demannu,项目名称:NGECore2,代码行数:13,代码来源:tatooine_juvenile_krayt.py

示例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
开发者ID:Undercova,项目名称:NGECore2,代码行数:13,代码来源:dathomir_quarantine_1.py

示例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
开发者ID:Adoyser,项目名称:NGECore2,代码行数:13,代码来源:adolescent_krayt_wild_1.py

示例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
开发者ID:GaiamarkGames,项目名称:NGECore2,代码行数:13,代码来源:krayt_dragon_ancient_wild_1.py

示例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
开发者ID:Demannu,项目名称:NGECore2,代码行数:14,代码来源:dantooine_bol.py

示例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
开发者ID:Demannu,项目名称:NGECore2,代码行数:14,代码来源:dathomir_quarantine_lvl_15.py

示例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
开发者ID:Demannu,项目名称:NGECore2,代码行数:14,代码来源:dantooine_piket.py

示例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
开发者ID:Adoyser,项目名称:NGECore2,代码行数:15,代码来源:dark_jedi_wild_1.py

示例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
开发者ID:Demannu,项目名称:NGECore2,代码行数:15,代码来源:dantooine_thune.py

示例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
开发者ID:Adoyser,项目名称:NGECore2,代码行数:15,代码来源:voritors_wild_1.py

示例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
开发者ID:Demannu,项目名称:NGECore2,代码行数:15,代码来源:lok_perlek.py

示例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
开发者ID:Demannu,项目名称:NGECore2,代码行数:15,代码来源:dathomir_rancor.py


注:本文中的services.spawn.DynamicSpawnGroup.setMinSpawnDistance方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。