search
in the
blog
c4script function list
c4script reference
c4script function list (DE)
c4script reference (DE)
bugtracker
forum
hg changelog
hg resources changelog
website
Home
FAQ
About
Download
Latest Release
Development Snapshot
Archive
Forum
Development
Bugtracker
Repository
Resource Repository
Documentation
C4Script Reference
Blog
Stuck
Category:
Objects / Status
Since engine version:
5.1 OC
Description
Returns whether the object is stuck, meaning that one of its vertices is enclosed in solid matter.
Syntax
bool
Stuck();
Example
if
(
GetCursor
()->Stuck())
GetCursor
()->
Message
(
"Help!"
);
Displays a message above the selected clonk of the first player if the clonk is stuck at the time the script is called.
See also:
GetContact
,
GetMaterial
,
GetVertex
,
VerticesStuck
Sven2, 2002-08