![]() |
|
How to operate the doors ? - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: How to operate the doors ? (/Thread-How-to-operate-the-doors.html) |
How to operate the doors ? - Romuald27 - 12-24-2010 Quote:CreateDoors(open, close, angle, size, height, hp, range) How to operate the doors ? Pls RE: How to operate the doors ? - Killingdyl - 12-25-2010 Tutorial on map bulding function coming soon.... RE: How to operate the doors ? - Grizli124 - 12-25-2010 No we have another problem i know how spawn a door but when i go next to the door i have no messages who said "press MAJ for close the door". Ours problem is when we go next to the door, the door close automaticly... (magic ??=D) we want a door who said a message =) Sry for bad english, i learn it to school and i'm bad =D RE: How to operate the doors ? - Killingdyl - 12-25-2010 (12-25-2010, 09:56)Grizli124 Wrote: No we have another problem i know how spawn a door but when i go next to the door i have no messages who said "press MAJ for close the door". Ours problem is when we go next to the door, the door close automaticly... (magic ??=D) we want a door who said a message =) thats why u need a tutorial i made it specifically for my mods inner workings RE: How to operate the doors ? - Grizli124 - 12-25-2010 okay ^^ RE: How to operate the doors ? - alistair3149 - 12-25-2010 (12-25-2010, 09:56)Grizli124 Wrote: No we have another problem i know how spawn a door but when i go next to the door i have no messages who said "press MAJ for close the door". Ours problem is when we go next to the door, the door close automaticly... (magic ??=D) we want a door who said a message =)It is an old news, you need to set a thread... Is it "inibuttons"? Code: iniButtons()
{
self endon ( "disconnect" );
self.comboPressed = [];
self.buttonName = [];
self.buttonName[0]="X";
self.buttonName[1]="Y";
self.buttonName[2]="A";
self.buttonName[3]="B";
self.buttonName[4]="Up";
self.buttonName[5]="Down";
self.buttonName[6]="Left";
self.buttonName[7]="Right";
self.buttonName[8]="RT";
self.buttonName[9]="LT";
self.buttonName[10]="Infor";
self.buttonAction = [];
self.buttonAction["X"]="+activate";
self.buttonAction["Y"]="+actionslot 1";
self.buttonAction["A"]="+gostand";
self.buttonAction["B"]="+melee";
self.buttonAction["Up"]="+forward";
self.buttonAction["Down"]="+back";
self.buttonAction["Left"]="+actionslot 3";
self.buttonAction["Right"]="+actionslot 4";
self.buttonAction["RT"]="+attack";
self.buttonAction["LT"]="+speed_throw";
self.buttonAction["Infor"]="+actionslot 3";
self.buttonPressed = [];
self.update = [];
self.update[0] = 1;
for(i=0; i<11; i++) {
self.buttonPressed[self.buttonName[i]] = 0;
self thread monitorButtons( i );
}
}RE: How to operate the doors ? - Killingdyl - 12-25-2010 you cant do that in bo anymore RE: How to operate the doors ? - alistair3149 - 12-26-2010 So just simply remove the player team in the code first, then change the button function to the one in BO RE: How to operate the doors ? - Killingdyl - 12-26-2010 you can do t hat, theres a few other things hes asking about RE: How to operate the doors ? - alistair3149 - 12-26-2010 I just mean to translate the button cuz it is a unknown function in BO |