@name Roller Chair Control Chip
@inputs AdvPod:wirelink Num:wirelink
@outputs 
@persist Cont:array C Wheel:entity Chair:entity
@trigger all
interval(15)
#initializing
if(first()){
Cont=entity():getConstraints()
Model="window_curve360x1.mdl"
ModelC="airboat_seat.mdl"
C=1
timer("finder",1)
}
if(clk("finder")){
    Entity=Cont:entity(C)
 Model1=Entity:model()   
    if(Model1:find(Model)){Wheel=Entity}
    if(Model1:find(ModelC)){Chair=Entity}
    if(C<Cont:count()){C++}
}#End of rapid search initialization


Chair:applyForce(FForce)
Wheel:applyAngForce(RForce)

