antstubell Posted June 20, 2012 Share Posted June 20, 2012 Hi all.So imagine this scenario. Got me a nice chest on a raised platform and decided to surround it with Steel Pole Traps. Placed about 12-15 around the chest and a lever a fair distance away. All works fine up go the spears, down go the spears problem is that even when spears are raised the character can access the chest i.e. is within reaching distance to open it. I could see that placing a load more spears, I mean a load, would stop him getting near it but that's a lot of parent-child setting up and placing of spears. Is there a way I can limit the "reach" of the chest?One more thing the spears are always set UP and the trigger moves them up and down, how can I make the spears start in a down postion so that they'll be trigeered by a pressure plate, etc?Thanks all. Link to comment Share on other sites More sharing options...
dfac364 Posted June 22, 2012 Share Posted June 22, 2012 i dont think you can limit the reach of the chest, however you can place collision barriers around it which will prevent the player from using it than script the lever to disable them when activated, as for starting in the down position ive got nothing ive never tried to do that so i cant sayi guess you could probably put a script on it so that when the game loads it activates the poles? there is probale a better way to do this though Link to comment Share on other sites More sharing options...
steve40 Posted June 22, 2012 Share Posted June 22, 2012 (edited) You could put a script on the chest to disable its activation (opening) by default, while the poles are down. Then when the poles are raised (activated) they also make the script on the chest switch state. There should be examples in the CK wiki on the use of STATES to allow or prevent an object from being activated. Edited June 22, 2012 by steve40 Link to comment Share on other sites More sharing options...
Hangman4358 Posted June 22, 2012 Share Posted June 22, 2012 There are two different types of spears. Damage spears and the spears that just block your path. Look in the traps warehouse in the CK to get an idea of how they work. Now, for the spears that just block your way, if you double click on them or right click in the cell view on their entry for the cell they are in you can scroll all the way to the right to where you attatch scripts. There you will see a script already attatched. if you go to edit the properties you will see a bool value for if they start open or closed. Link to comment Share on other sites More sharing options...
Recommended Posts