BioWare Atari
Informazioni BioWare Giochi BioWare Supporto Forum Visit the BioWare Store
Neverwinter Nights Home
Neverwinter Nights Home

Archives: Builders - NWN Scripting



       Vai alla fine

Autore Default area transition script?
CultOfTheHarrower
Game Owner
Profilo: CultOfTheHarrowerNWN
NWN: HotU


Registrato il: 29 ott 2002
Inviato: venerdì, 14 novembre 2003 09:04
At the beginning of my current project, the player is hauling around a pack animal.

I do not want the pack animal to be able to follow you into buildings. (Most NPC owners would object!) So basically, I need to be able to cancel the animal's follow command when clicking on an area transition that would lead into a building.

Two problems.

One - I can't find a function to determine whether an area is interior or not, despite the fact that it's marked on the area properties and that there ARE functions for getting whether it's natural/artificial or above/underground. But that's okay, if necessary I'll just feed in all the area tags... still, I would prefer a GetIsInterior - am I just missing it?

Two - Is there a default area transition script, or am I going to have to override the OnAreaTransitionClick event on EVERY SINGLE DOOR in my town? Since what it generates LOOKS like a fairly standard script, it seems like it should exist somewhere...
_________________
BardSong 1 - Earth and Sky
BardSong 2 - Fire and Water
Shadows and Light
  Profilo: CultOfTheHarrower   Invia messaggio a: CultOfTheHarrower
Charamei
Moderator
Game Owner
Profilo: CharameiNWN
NWN: SoU
NWN: HotU
SW: KotOR PC
Jade Empire:SE
NWN 2
NWN 2: MotB


Registrato il: 30 dic 2002
Da: Miles away.
Inviato: venerdì, 14 novembre 2003 09:11
GetIsArtificial should do it, as only interior areas are artificial (at present - not sure about the HotU ones).

If you edit the default area transition script and save it as-is, every door in your module will by default use that one. It'll only override the script in that one module, not every one you play
  Profilo: Charamei   Invia messaggio a: Charamei
CultOfTheHarrower
Game Owner
Profilo: CultOfTheHarrowerNWN
NWN: HotU


Registrato il: 29 ott 2002
Inviato: venerdì, 14 novembre 2003 09:17
I was asking what the default area transition script *was*, but I think I found it. (after scrolling through every nw script with the preview function in the conversation editor!) nw_g0_transition appears to be the one I want.

But no, City Outdoors is flagged as artificial, not natural. I can change that (there aren't that many of those areas in this) but since it there is a default outdoor-but-artificial it woudl be nice if there were a GetIsIndoors.

Anyway, I think I can manage now.
_________________
BardSong 1 - Earth and Sky
BardSong 2 - Fire and Water
Shadows and Light
  Profilo: CultOfTheHarrower   Invia messaggio a: CultOfTheHarrower


Cosa significano queste icone?
Come posso imparare a usare i forum?

Jump To:

Ricerca nei forum | FAQ sui forum | Archivi dei forum

 

 

Mass Effect Galaxy
Neverwinter Nights 2 Forums
Mostra/nascondi

English
Deutsch
Français
Español
Italiano

Mostra/nascondi

Vedi le immagini più recenti 

Vedi le immagini più recenti
Mostra/nascondi

Multiplayer Games at Neverwinter Connections

Today
Schedule a Game...



L'ora attuale è: (imposta ora)
mar, 09 febbraio 2010 08:20

Mostra/nascondi

Download Modules

Top NWN: HotU Modules:
1. Good vs Evil III
2. More...

Top NWN: SoU Modules:
1. Good vs Evil III
2. More...

Top CEP Modules:
1. The Lord of Terror The Diablo Campa...
2. More...

Top Modules - NWVault:
1. Hall of Fame
2. More...

Total Modules: 4423

Mostra/nascondi

5,994,061 utenti BioWare:
  45 collegati
  4 nascosti
  464 ospiti

1333 Playing Online
  100% NWN
  100% NWN: SoU
  99% NWN: HotU

426 Registered Guilds

9,000,880 messaggi nei forum

Nuove discussioni:
1. M.O.W. Internet needed? (NWN2: General discussion forums for NWN2 (No Spoilers Allowed))

2. Script control of encounters? (O... (NWN2: Builders - NWN2 Scripting)

3. Do i need to play BG 1? (Baldur's Gate II: SoA and ToB General Discussion)

4. Memorized Spells ui modification (NWN2: Custom Content)

5. My Dm's Can't log in, DM Client ... (NWN 1: Server Admin)