lfnetwork.com mark read register faq members calendar

Thread: Script that fires when you enter an area
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 05-25-2007, 06:25 AM   #1
Mindtwistah
Junior Member
 
Mindtwistah's Avatar
 
Join Date: Apr 2007
Location: Derka Derka
Posts: 470
Script that fires when you enter an area

How can I fire a script when I enter a costume made area?
Mindtwistah is offline   you may: quote & reply,
Old 05-25-2007, 08:59 AM   #2
Pavlos
Scruffy Englishman
 
Pavlos's Avatar
 
Join Date: Sep 2005
Location: The real world/ivory towers
Posts: 1,974
Current Game: Viking Warrior Poets
Quote:
Originally Posted by Mindtwistah
How can I fire a script when I enter a costume made area?
Open up the ARE file of your module in K-GFF (or a suitable GFF editor) and find "OnEnter." Place the name of your script into this field, save it, and when you enter the area it should fire .

If you're using KotOR Tool's module editor then simply right click on any blank space and select Module Properties. Select the Area tab then go to Events. Put the name of your script in the field labelled "OnEnter", click Ok and you'll get the same result.

Hope this helps .
Pavlos is offline   you may: quote & reply,
Old 05-25-2007, 09:25 AM   #3
Mindtwistah
Junior Member
 
Mindtwistah's Avatar
 
Join Date: Apr 2007
Location: Derka Derka
Posts: 470
Thanks
Mindtwistah is offline   you may: quote & reply,
Old 06-06-2007, 07:05 PM   #4
GeorgNihilus
Forumite
 
GeorgNihilus's Avatar
 
Join Date: Mar 2007
Location: Somewhere in the Outer Rim
Posts: 582
Current Game: Skyrim
Question

Is this gonna work in an added planet area like the Ord Mandell added world for K1?? being a duplicate area that uses some Taris and Korriban areas ... ?
GeorgNihilus is offline   you may: quote & reply,
Old 06-06-2007, 08:11 PM   #5
Master Zionosis
Relax On Air
 
Master Zionosis's Avatar
 
Join Date: Sep 2006
Location: High In The Sky
Posts: 1,280
Current Game: TR 8: Underworld
Contest winner - Modding 
Quote:
Originally Posted by GeorgNihilus
Is this gonna work in an added planet area like the Ord Mandell added world for K1?? being a duplicate area that uses some Taris and Korriban areas ... ?
Yes it will work, because ultimately all the files are packed into a newly named module by RedHawke, unless RedHawke has already used the OnEnter field, then it won't work, you would need to merge your script with RedHawke's, which shouldn't be to hard considering he included the Source scripts in the .zip (or .rar, i can't remember, .)

Master Zionosis is offline   you may: quote & reply,
Old 06-07-2007, 12:30 AM   #6
RedHawke
Shadow Lord Of The Sith™
 
RedHawke's Avatar
 
Status: Moderator
Join Date: Mar 2004
Location: Stormreach CA.
Posts: 9,184
Current Game: DDO, Stormreach
Quote:
Originally Posted by GeorgNihilus
Is this gonna work in an added planet area like the Ord Mandell added world for K1?? being a duplicate area that uses some Taris and Korriban areas ... ?
While it should work don't ever expect to be able to release your work though... Other ingratious individuals before you have hardened my stance on people messing with my mods. Especially ORD Mandell, sorry.


"Beware the form-fitting black armor-clad Drow hottie with twin Mineral II Greensteel Khopeshes!"
"Liella d'Orien says, '"You're the fool, Devil. -- Witness the power of this fully ARMED and OPERATIONAL Titan!"'"
----------------------------------------------------------------------
RedHawke 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 > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > Script that fires when you enter an area

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

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