lfnetwork.com mark read register faq members calendar

Thread: Where do the PARMs of this script go?
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-18-2003, 03:43 PM   #1
JDKnite188
 
JDKnite188's Avatar
 
Join Date: Jan 2003
Location: Nar Shaddaa
Posts: 425
Where do the PARMs of this script go?

I have a trigger_multiple targeting a target_scriptrunner. The script affects other entities. Here is the script:

code:
--------------------------------------------------------------------------------
//Generated by BehavEd

rem ( "Door Lock Switch Script by JDKnite188, moves trigger so door controls are not usable, but can also be used to move them back" );
rem ( "parm1 is the setting locked or unlocked" );
rem ( "parm2 is the unlocked position of the trigger" );
rem ( "parm3 is the locked position of the trigger" );
rem ( "parm4 is the script_targetname of the trigger" );
rem ( "parm5 is the func_usable on switch (changable from original map settings)" );
rem ( "parm6 is the func_usable off switch" );

affect ( $get( STRING, "SET_PARM4")$, /*@AFFECT_TYPE*/ FLUSH )
{

if ( $get( STRING, "SET_PARM1") = "locked"$ )
{
move ( $get( VECTOR, "SET_PARM3")$, $get( VECTOR, "SET_PARM2")$, 1000.000 );
set ( /*@SET_TYPES*/ "SET_PARM1", "unlocked" );

affect ( $get( STRING, "SET_PARM6")$, /*@AFFECT_TYPE*/ FLUSH )
{
set ( /*@SET_TYPES*/ "SET_FUNC_USABLE_VISIBLE", "true" );
}


affect ( $get( STRING, "SET_PARM5")$, /*@AFFECT_TYPE*/ FLUSH )
{
set ( /*@SET_TYPES*/ "SET_FUNC_USABLE_VISIBLE", "false" );
}


else ( )
{
move ( $get( VECTOR, "SET_PARM2")$, $get( VECTOR, "SET_PARM3")$, 1000.000 );
set ( /*@SET_TYPES*/ "SET_PARM1", "locked" );

affect ( $get( STRING, "SET_PARM5")$, /*@AFFECT_TYPE*/ FLUSH )
{
set ( /*@SET_TYPES*/ "SET_FUNC_USABLE_VISIBLE", "true" );
}


affect ( $get( STRING, "SET_PARM6")$, /*@AFFECT_TYPE*/ FLUSH )
{
set ( /*@SET_TYPES*/ "SET_FUNC_USABLE_VISIBLE", "false" );
}

}

}

}


--------------------------------------------------------------------------------

Where do I put my PARM values in the map editor? I put them on the target_scriptrunner and the script didn't work.


Cheers,
JDKnite188

Hopin' LEC is going to get on track and bring us a decent JK for the JKers of 1997.
JDKnite188 is offline   you may: quote & reply,
Old 07-19-2003, 07:14 AM   #2
Emon
Strong Bad's Henchman
 
Emon's Avatar
 
Join Date: Jan 2002
Location: The Massassi Temple
Posts: 3,468
List the KEYs and values for these parameters.


Clarionet, n. An instrument of torture operated by a person with cotton in his ears. There are two instruments that are worse than a clarionet -- two clarionets.
Emon 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 > General Editing > Where do the PARMs of this script go?

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:59 PM.

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