lfnetwork.com mark read register faq members calendar

Thread: Force powers other than push/pull trigger scripts.
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-28-2005, 09:42 PM   #1
riceplant
Junior Member
 
riceplant's Avatar
 
Join Date: Jul 2005
Posts: 348
Force powers other than push/pull trigger scripts.

Can it be done? I want to have some shallow water, and when the player uses lightning on it, it kills everything in it. Or possibly having the player use lightning to start a machine that's out of power. As it is, I can only have events triggered by push/pull, and mind trick on NPCs.

EDIT: I just realised, this is the 7th thread in a row that I've started. Is that OK? It says in the rules you shouldn't be able to look at a page and see you started most of the threads.
riceplant is offline   you may: quote & reply,
Old 07-29-2005, 04:04 AM   #2
yangyan
 
yangyan's Avatar
 
Join Date: Jan 2003
Location: Somewhere far away...
Posts: 289
posting new topics ownzors. besides, hardly anyone starts new topics now. Like if there was a cake and noone was eating the cake, they cant blame you for being the only one.

For the lightning, use scripting?


yangyan is offline   you may: quote & reply,
Old 07-29-2005, 06:30 AM   #3
riceplant
Junior Member
 
riceplant's Avatar
 
Join Date: Jul 2005
Posts: 348
You are officially Champion of stating the bleedin' obvious. But seriously, how? Scripts have to be run from a scriptrunner, which in turn must be triggered by a trigger (Big surprise there). I can't find a trigger that is triggered by force powers (Other than func_static for push/pull). However, not all entities are in the menus (misc_camera, for example), and I hope that someone knows a way it can be done.
riceplant is offline   you may: quote & reply,
Old 08-05-2005, 03:03 PM   #4
riceplant
Junior Member
 
riceplant's Avatar
 
Join Date: Jul 2005
Posts: 348
Anyone?

(Is a week a short enough time before bumping? Or should I just assume that no-one knows, if no-one answers)
riceplant is offline   you may: quote & reply,
Old 08-05-2005, 04:48 PM   #5
lassev
cryptoscripter
 
lassev's Avatar
 
Join Date: Jun 2002
Location: Finland
Posts: 1,087
Well, there is the boolean data type command SET_LIGHTNING among the set_x script commands, so I suppose you could try to check whether it's true with an if statement, possibly launching the check script when a func_usable is being damaged, so that there would be a reasonable chance the force lightning was the reason for the func_usable taking damage.

Obviously, I have no idea if you actually can check the set_lightning like that, but you never know until you try. I'm 87% certain nobody has ever tried it before. You could be the first one. Be sure to report here what happened.


Frozen by ICARUS
lassev 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 > Force powers other than push/pull trigger scripts.

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 07:12 AM.

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