![]() |
Force Cage Shut Down script
Hey guys, does anybody here know the script to shut down a force cage for TSL? Like when the player is inside one and someone shuts it down.
-Thanks |
You need to do two things. First, you need to get the cage to play the shut down animation:
Code:
AssignCommand(oCage, ActionPlayAnimation(202, 1.0, 0.0));Code:
DestroyObject(oCageBlocker, 0.0, 0, 0.0, 0) |
Thanks, but how do I put all that in one script? [Im sorry im horrible at scripting.]
|
No worries... this one is pretty simple. As I said you need to look up the tags, but I can type out everything else:
Code:
void main() {Code:
GetFirstPC();Code:
GetObjectByTag("tag", 0); |
Thanks. Do you add this line under the pc part
Code:
GetObjectByTag("tag", 0); |
Then you would need to do everything twice, using different variable names, like such:
Code:
void main() { |
Ok, thanks :)
|
| All times are GMT -4. The time now is 08:53 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
LFNetwork, LLC ©2002-2011 - All rights reserved.