Difference between revisions of "CBlob::SetDead"
From King Arthur's Gold Wiki
(Created page with "<onlyinclude> </onlyinclude> <syntaxhighlight lang="cpp"> void SetDead() </syntaxhighlight> Object method of: CBlob Category:Scripting Category:Object Methods") |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
− | + | Sets blob dead. | |
</onlyinclude> | </onlyinclude> | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
− | |||
void SetDead() | void SetDead() | ||
− | + | </syntaxhighlight> | |
+ | |||
+ | |||
+ | Example (This example sets player's blob dead, which would force him to respawn and aquire new blob to play with): | ||
+ | <syntaxhighlight lang="cpp"> | ||
+ | player.getBlob().SetDead(); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 22:22, 1 October 2012
Sets blob dead.
void SetDead()
Example (This example sets player's blob dead, which would force him to respawn and aquire new blob to play with):
player.getBlob().SetDead();
Object method of: CBlob