Aller au contenu

Photo

[Solved] Area Transition via Conversation


1 réponse à ce sujet

#1
phaonica

phaonica
  • Members
  • 3 435 messages
I can't seem to get the simplest noobish area transition to work, could someone help me out? Posted Image

I created a new level called intent.lvl
I created a new area called intent.are that is associated with intent.lvl
Within the area is a waypoint named "intent_waypoint"

I created a conversation. The tree looks like this:

OWNER: Hey, are you talking to me?
 PC: I need a teleport.
  OWNER: You got it.
    END DIALOG

I created a new script called intent.nss and have tried associating it with the lines "OWNER: You got it." and "END DIALOG" and neither work. It dumps me out of the conversation and it doesn't move the player to the intent area.
I've also tried converting the line of dialog into a cutscene, then setting the cutscene's end script to my script, and that doesn't seem to work either.

intent.nss:

void main()
{
   DoAreaTransition("intent", "intent_waypoint");
}


Am I using a bad script, or am I failing to set a variable somewhere?

Modifié par phaonica, 15 mai 2010 - 06:12 .


#2
DavidSims

DavidSims
  • BioWare Employees
  • 196 messages
I'm not seeing anything obiously wrong with what you're doing. It's possible something isn't being exported properly, but if you're seeing the conversation at least that much is exporting. Have you tried re-exporting the level, the conversation and the script, making sure to check the log for error messages?