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") |
|||
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> | ||
Revision as of 21:58, 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