harIII Posted January 30, 2010 Share Posted January 30, 2010 Can somebody send me a simplified script of how to deactivate a Force Cage? I looked at the tutorial here on LF but it's not working. Thank you. Never mind, got it to work. Link to comment Share on other sites More sharing options...
DarthStoney Posted January 30, 2010 Share Posted January 30, 2010 Here you go,you'll need to add the invisible cageblocker if you don't want to be able to walk through the cage while active. void main() { object oMycage = GetObjectByTag("cagetag", 0); object oMyCageBlocker = GetObjectByTag("MyCageBlocker", 0); DestroyObject(oMyCageBlocker, 0.0, 0, 0.0, 0); DelayCommand(0.5, AssignCommand(oMyCage, ActionPlayAnimation(202, 1.0, 0.0))); } Link to comment Share on other sites More sharing options...
harIII Posted January 30, 2010 Author Share Posted January 30, 2010 Yep, that's my basic script that is now working except much longer. It involves 5 Force Cages and makes the prisoners inside run to 5 different locations and disappears. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.