Jump to content

Home

Opening Force Cage Script


harIII

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...