Like,i have a brushmodel,can i make it constantly move? For example left to right,right to left,left to right,right to left and so on...just make it move constantly.
That's so awesome!! Only one thing,i would need to shoot the brushmodel and make it go away,i did this as i would do for any shootable door,but the targetname was shootable_door and now with your way targetname is moving_wall.
That's so awesome!! Only one thing,i would need to shoot the brushmodel and make it go away,i did this as i would do for any shootable door,but the targetname was shootable_door and now with your way targetname is moving_wall.
Is it possible to do it?
change everywhere where it says "targetname" to "script_noteworthy" both in radiant and the script, and it should work too.
EDIT: if the wall gets deleted at some point in the game, better to use this script prob
Why not just do self waittill("movedone") instead of a wait?
Yeh, why not.. Forgot about that, still 'need' the count kvp to set the move speed though so doesn't really matter i guess And just wondering, would it still receive some sort of notify when it gets deleted while moving? Or will the function then just wait forever for the "movedone"?
I have changed it to script noteworthy,but when i shoot the trigger,the wall/door won't move.
Now you're mixing up things.. what i did above just make's it move back and forward forever, and has nothing to do with shooting it. I assumed you had another script that would make it disappear when you shoot it. What do you want the brush to do exactly?
Last Edit: March 28, 2015, 12:30:29 am by BluntStuffy
If you want scripts / features made for you, then contact me by PM or email / skype etc it will cost you tho so if you have no intention of reciprocating don't even waste my time
Ok, i wasn't really sure if you want only one of these in your map, or more of them. So i made it possible to make multiple of them if you want to.
1-Keep the trigger(s) you need to shoot, and keep their targetname: shoot_me 2-Make the moving door/wall have the KVP's: ( example's ) script_vector - 100 0 0 count - 3
delete the script_noteworthy and targetname it has now. 3-Now select the trigger that belongs to that wall, then select the wall and press 'w' so the trigger now target's the wall. 4-Replace my previous script in your mapname.gsc with this one, and remove ZK's script.
It basically works,but the trigger still doesn't follow the brushmodel,can that be done? If the trigger doesn't follow it then i can't really shoot where the brushmodel is,i would have to shoot exactly where the trigger is
It basically works,but the trigger still doesn't follow the brushmodel,can that be done? If the trigger doesn't follow it then i can't really shoot where the brushmodel is,i would have to shoot exactly where the trigger is
lol, i thought the trigger was somewhere else in the map.. I'll change it up a bit Double Post Merge: March 28, 2015, 03:33:18 pmk, here we go once more in radiant: 1- delete the triggers, 2- select the moving thingy's and give them the targetname - moving_wall -keep the script_vector and count KVP 3- use this script (the doors dont take melee damage or grenade damage)