Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Opening Force Cage Script

Page: 1 of 1
 harIII
01-29-2010, 8:12 PM
#1
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
01-29-2010, 10:54 PM
#2
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
01-30-2010, 10:36 AM
#3
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.
Page: 1 of 1