harIII Posted January 30, 2010 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.
DarthStoney Posted January 30, 2010 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))); }
harIII Posted January 30, 2010 Author 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.