riceplant Posted July 29, 2005 Share Posted July 29, 2005 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. Link to comment Share on other sites More sharing options...
yangyan Posted July 29, 2005 Share Posted July 29, 2005 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? Link to comment Share on other sites More sharing options...
riceplant Posted July 29, 2005 Author Share Posted July 29, 2005 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. Link to comment Share on other sites More sharing options...
riceplant Posted August 5, 2005 Author Share Posted August 5, 2005 Anyone? (Is a week a short enough time before bumping? Or should I just assume that no-one knows, if no-one answers) Link to comment Share on other sites More sharing options...
lassev Posted August 5, 2005 Share Posted August 5, 2005 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.