Difference between revisions of "TMap.AddSpawnPoint"
DarkCrusade (talk | contribs) |
m (Example moved) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | '''''function AddSpawnPoint(Spawn:TNewSpawnPoint):TActiveSpawnPoint''''' | + | '''''function AddSpawnPoint(Spawn:[[TNewSpawnPoint]]):[[TActiveSpawnPoint]]''''' |
Spawn: new spawn to be created. | Spawn: new spawn to be created. | ||
Result: activated spawn <br> | Result: activated spawn <br> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
==Description== | ==Description== | ||
This function will add a new spawnpoint at position X,Y with target style. It will always be active. | This function will add a new spawnpoint at position X,Y with target style. It will always be active. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Example== | ==Example== | ||
+ | {{expand|Example showing AddSpawnPoint}} | ||
− | + | <syntaxhighlight lang="pascal"> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:TMap]] | [[Category:TMap]] |
Latest revision as of 11:46, 22 August 2013
function AddSpawnPoint(Spawn:TNewSpawnPoint):TActiveSpawnPoint Spawn: new spawn to be created. Result: activated spawn
Description
This function will add a new spawnpoint at position X,Y with target style. It will always be active.
Example
Expand with: Example showing AddSpawnPoint |