you only need one. it's all pretty obvious how it would go down.
all the raptor has to do it stick a big bone in it's mouth to distract it and then run through the big opening it came through, when when the rancor chases the raptor halfway through the raptor throws a rock at the controls and the gate comes crashing down.
duh.