Scene is not starting and I need help with aliases

Post » Wed Jun 05, 2013 10:45 pm

Hello,
I'm trying to make a scene that will be shared with multple custom NPCs
All the actors are in faction manny_Faction.

What the scene should does:
1. Scene is started when a dialog option is selected
2. The NPC will travel to an aliased xmarker with a custom LocRef manny_HoldPosition with zero radius

How I filled the aliases
The actors alias name is : manny_Alias_Actors and is a Ref Alias
Flags: Stores text
In the alias tab I've selected the "Find Matching Reference" (flags: In Loaded Area; Closest) option using this condition:
Target: S
Function Name: GetInFaction
Function Info: manny_Faction
Comparison and value: == 1.00

The locations alias name is: manny_Alias_Hold_Position and is a Ref Alias
Flags: Stores text
In the alias tab I've selected the "Find Matching Reference" (flags: In Loaded Area; Closest) option using this condition:
Target: S
Function Name: HasRefType
Function Info: manny_HoldPosition
Comparison and value: == 1.00

The dialogue script to start the scene is working properly (debug.notification("Called"))
Scene is not starting anyway and it is:

Phase 1 - Starting script

debug.notification("Hello! Scene is starting")debug.notification("The Actor is: " + myActorAliasProperty.getName())debug.notification("The Location is: " + myLocationAliasProperty.getName())

The properties are properly filled.

Phase 2 - Travel Package to Ref Alias action to the alias actor

The debug.notifications of the scene are not shown anyway and the logs are clean.

What I'm doing wrong?

User avatar
sara OMAR
 
Posts: 3451
Joined: Wed Jul 05, 2006 11:18 pm

Post » Wed Jun 05, 2013 4:03 pm

Updates: So I need to *refill* the aliases!

The fragment below was used when you have choosen the right dialogue option:

manny_Scene.start()debug.notification("Called")

Now it is:

manny_Scene.getOwningQuest().stop()manny_Scene.getOwningQuest().start()manny_Scene.start()debug.notification("Called")

Everything working fine now!

User avatar
Emma Parkinson
 
Posts: 3401
Joined: Wed Jul 26, 2006 5:53 pm


Return to V - Skyrim