LucasForums

LucasForums (http://www.lucasforums.com/index.php)
-   JA Mapping (http://www.lucasforums.com/forumdisplay.php?f=540)
-   -   umm Making Pieces move ..sorta.. (http://www.lucasforums.com/showthread.php?t=165215)

LordFrodo 05-23-2006 01:59 AM

umm Making Pieces move ..sorta..
 
Ok heres the deal, i havent mapped in a bit so i wanna make one this summer. And im trying to figure a way out that i can give the player an option to move a piece right or left. Would that require scripting or do yall think thats possible....? ...actually its more like diagnol rt of left.


--fro

{NJO}*Dark 05-24-2006 04:09 AM

you need to make the piece that will move into a func_static with an origin brush, then give it the key/value script_targetname/whatever. next you need to place two tag_refs in the places you want it to move to, give them targetnames of left/right or something like that.
then you need to make two scripts, 1 for one moving it each way. each script will look like this:
affect ( whatever, FLUSH )
move ( tag( "left", ORIGIN ), time taken to get there )

then as long as you have two buttons, or two triggers (one for each of the directions) it should work
email me if you have any problems, j@higgs0029.freeserve.co.uk

EvilJedi 06-04-2006 02:47 AM

Do you mean like moving a block or an item back and forth? If you want that, just use a func_door and trigger it in any way you want (force, playeruse, etc). If you want it to move to more than 2 locations, I think you'd need to use func_static like Dark said.


All times are GMT -4. The time now is 11:58 AM.

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