Thing_Stop
19:Thing_Stop (tid)
Usage
This stops the specified actor's current movement by setting its acceleration and speed to 0.
Example
This example freezes the player and prints a message to the player, as well as freezing him in place.
Script 1 (VOID) { Print(s:"STOP RIGHT THERE YOU FREAK!"); Thing_Stop(0); SetPlayerProperty(0, 1, PROP_TOTALLYFROZEN); }
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.