lukeskywalker1 Posted July 14, 2004 Share Posted July 14, 2004 I have a few basic questions, that I *should* know the answere to, but find myself not knowing :-\ I always assumed you could put 'Usescript' in a func_breakable (you know, so I could break something and it triggers a script...) for example, I cut a beam down (the func_breakable) which then runs the script that tells part of the ceiling to fall down. Basically, I want to know how to break something, then trigger a script. Also, could some one explain camera groups? It makes a camera follow an entity right? Like if I want Kyle to run down a hallway, the camera would follow him right? I want to set something like that up. Thanks! Link to comment Share on other sites More sharing options...
lassev Posted July 14, 2004 Share Posted July 14, 2004 Well, did you assume right? Does the script launch? If it didn't, then just target the func_breakable to a scriptrunner. What's the difference, really... Use camera_groups by affecting something, either NPC or entity, and use the command set_camera_group("cameragroupname"). Notice that the camera_group_name has nothing to do with any targetnames you set in Radiant. It's just scripting. After this, you can use the follow camera command to follow any set camera group. Camera group follow doesn't move the camera, it only sets the PAN to the entity, and if the entity moves, it follows by updating the PAN. Quite logically, if you set the follow camera command, and you move the camera, the camera will stay centered on the target. That's just as useful as the stationary camera and moving target. Link to comment Share on other sites More sharing options...
lukeskywalker1 Posted July 15, 2004 Author Share Posted July 15, 2004 Ok, I think I get the camera group thing. About the func_breakable, I dont think the script ran... I might have messed up though. Probably a spelling error. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.