lfnetwork.com mark read register faq members calendar

Thread: Some scripting stuff
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 07-14-2004, 05:53 PM   #1
shukrallah
White Dragon
 
shukrallah's Avatar
 
Join Date: Nov 2002
Posts: 3,250
Some scripting stuff

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!
shukrallah is offline   you may: quote & reply,
Old 07-14-2004, 08:47 PM   #2
lassev
cryptoscripter
 
lassev's Avatar
 
Join Date: Jun 2002
Location: Finland
Posts: 1,087
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.


Frozen by ICARUS
lassev is offline   you may: quote & reply,
Old 07-15-2004, 10:55 AM   #3
shukrallah
White Dragon
 
shukrallah's Avatar
 
Join Date: Nov 2002
Posts: 3,250
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.
shukrallah is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JA Mapping > Some scripting stuff

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:07 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.