General Category > Modding
[Tutorial] teamSPs
kummitus:
Can you tell me what am doing wrong then? Just can't get this working.
--- Quote ---from game.plugins import plugin, teamSPs
--- End quote ---
On top and then
--- Quote ---spawns_64 = [
plugin(teamSPs, sps = ['bunch of flagnames'], team = 1),
spawns_64 = [
plugin(teamSPs, sps = ['bunch of flagnames'], team = 2),
]
gpm_cq = {
64: spawns_64,
}
--- End quote ---
Just not getting it to work ???
phillip:
--- Quote from: kummitus on 13-02-2011, 19:02:35 ---Can you tell me what am doing wrong then? Just can't get this working.
--- Quote ---from game.plugins import plugin, teamSPs
--- End quote ---
On top and then
--- Quote ---spawns_64 = [
plugin(teamSPs, sps = ['bunch of flagnames'], team = 1),
spawns_64 = [
plugin(teamSPs, sps = ['bunch of flagnames'], team = 2),
]
gpm_cq = {
64: spawns_64,
}
--- End quote ---
Just not getting it to work ???
--- End quote ---
From 1st post
--- Quote ---spawns = [
plugin(teamSPs, sps = ['spawnpoint1', 'spawnpoint2', 'spawnpoint3'], team = 1),
plugin(teamSPs, sps = ['spawnpoint4', 'spawnpoint5', 'spawnpoint6'], team = 2),
]
--- End quote ---
So I think that you should have
--- Quote ---spawns_64 = [
plugin(teamSPs, sps = ['spawnpointflag1_1','spawnpointflag1_2','spawnpointflag2_1'], team = 1),
plugin(teamSPs, sps = ['spawnpointflag1_1','spawnpointflag1_2','spawnpointflag2_1'], team = 2),
]
--- End quote ---
kummitus:
Meh, had it that way earlier but apparently had typo in it and now when I was looking after those typos it got that way screwed :P
Navigation
[0] Message Index
[*] Previous page
Go to full version