lfnetwork.com mark read register faq members calendar

Thread: Why doesn't this map script work?
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-03-2012, 09:08 AM   #1
FarbrorGnur
Rookie
 
FarbrorGnur's Avatar
 
Join Date: Aug 2011
Posts: 47
Why doesn't this map script work?

I'm trying to make a rotating door, for JK2 singleplayer.

Code:
//Generated by BehavEd

rem ( "comment" );

affect ( "rotadoor1", /*@AFFECT_TYPE*/ FLUSH )
{

	task ( "drota1" )
	{
		rotate ( < 0.000 -90.000 0.000 >, 2500.000 );
		do ( "drota1" );
	}

}

wait ( "7000" );

affect ( "rotadoor1", /*@AFFECT_TYPE*/ FLUSH )
{

	task ( "drota2" )
	{
		rotate ( < 0.000 0.000 0.000 >, 2500.000 );
		do ( "drota2" );
	}

}
I've followed this tutorial.
This is the script, which I've compiled to ibi, and is located like: scripts/reference/dooropener.
The map contains a func_static, whose script_targetname is rotadoor1. A trigger_multiple outside the door on both sides is targeted at a scriptrunner with
count -1
usescript reference/dooropener.

I haven't areaportalled like in the tutorial, and only using a single door. I don't see what's wrong though, it won't move or react at all though. I've tried placing all the files used in a pk3, and such. Anyone with some experience with scripts?
FarbrorGnur 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 > JO Mapping > Why doesn't this map script work?

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 05:48 AM.

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