Game Modding | Call of Duty: Black Ops 3 | Scripting
ModmeBot:
Thread By: KillJoyYT I want the door to be open from round 1-3 then close from round 4-6...then reopen from 7-9 and close from 10-12 and continue on this pattern..... I've tried but failed miserably help please
ModmeBot:
Reply By: mathfag A few things: -I have noticed you still don't know basic gsc rules (not trying to be a dick but seriously it's been months now) -I have no idea why you're giving door_model1/2LookAt requirements and HINT_NOICON -You can't stack if() under eachother (you can if you use switch)
I have not tested this but it looks pretty solid so here you go.
ModmeBot:
Reply By: Harry Bo21
mathfag A few things: -I have noticed you still don't know basic gsc rules (not trying to be a dick but seriously it's been months now) -I have no idea why you're giving door_model1/2 LookAt requirements and HINT_NOICON -You can't stack if() under eachother (you can if you use switch) function setting_up_the_door() { door_trig = GetEnt("door_trig", "targetname"); door_trig SetCursorHint("HINT_NOICON"); door_trig UseTriggerRequireLookAt(); door_trig SetHintString("Available Every Other 3 Rounds"); rount_wait = 3; //round delays while(1) { for(i=0;i<rount_wait;i++) {="" level="" waittill("between_round_over");="" }="" door_trig="" triggerenable(1);="" enable="" trigger="" closethedoors();="" for(i=""></rount_wait;i++)><rount_wait;i++) {="" level="" waittill("between_round_over");="" }="" door_trig="" triggerenable(0);="" disable="" trigger="" openthedoors();="" }="" }="" function="" openthedoors()="" {="" door_model1="GetEnt("door_model1"," "targetname");="" door_model2="GetEnt("door_model2"," "targetname");="" door_model1="" movex(-100,4);="" wait(3.5);="" door_model2="" movez(-60,4);="" }="" function="" closethedoors()="" {="" door_model1="GetEnt("door_model1"," "targetname");="" door_model2="GetEnt("door_model2"," "targetname");="" door_model1="" movex(100,4);="" wait(3.5);="" door_model2="" movez(60,4);="" }="" ="" i="" have="" not="" tested="" this="" but="" it="" looks="" pretty="" solid="" so="" here="" you="" go.
=""></rount_wait;i++)> Connectpaths
disconnectpaths
or zombies will mess up...
ModmeBot:
Reply By: KillJoyYT Thanks man i'll give it a shot now. and sorry I work a shit ton so my sleep hours are all fucked up....
Not enough time in the day.. I just started gaming on xbox a couple years ago and built my pc in October.
Thank you for all of the assistance/guidance you've provided me over these months guys