Jump to content

Map Marker script help.


Recommended Posts

Posted

Sorry if this is a bit of a noob question but I desperately need help.

 

OK, so I have a trigger set up over a map marker for my quest. A script is attached to this trigger telling the current quest stage to complete and the next to start. At the moment this doesn't happen, I enter the trigger zone and nothing happens.

 

Here is the script as it stands

SCN FiendCampStage20TriggerScript

 

BEGIN onTriggerEnter player

 

if getStage FiendCampQuest == 10

setStage FiendCampQuest 20

endif

 

END

Posted

Replace that block with this and you should get at least a clue to what's going on. Also note the parenthesis.

 

if ((getStage FiendCampQuest) == 10)
 PrintToConsole "Stage set to 20"
 setStage FiendCampQuest 20
else
 int stage
 set stage to (GetStage FiendCampQuest)
 PrintToConsole "Stage was %.0f" stage
endif

Posted

What about the parenthesis? I'm pretty new to scripting.

 

I tried putting that code in the script instead of what I had and still nothing. I checked the console too but no messages.

 

Thank you for the help by the way.

Posted

If you get nothing, that means your trigger is not firing. It might not be active or it may have other conditions assigned to it.. you'll have to check it in the geck.

 

The parenthesis are there because the order of operations in the geck language, and operator associativity, are ambiguous.

 

When you say

if getStage FiendCampQuest == 10

 

You're relying on that to mean

if (getStage FiendCampQuest) == 10

 

And not

if getStage (FiendCampQuest == 10)

 

Both of those are valid in most languages, but the first one is what you want. The last one might work, or it might check that the stage is 1 or 0 -- in your case it would be checking for 0.

Posted

Oh I see, that should of been obvious really... Thanks for the help, when I get on the pc tomorrow I'll check the trigger and see if it needs activating

Guest Loogie
Posted

This is in the same vein and I'm learning about the same time Tamaster is. I've just started my first foray into world-building by starting to place a chain-link fence. Are there free camera controls and clone tools I'm missing, or does the GECK want me to shoot myself in the face?

Posted

This is in the same vein and I'm learning about the same time Tamaster is. I've just started my first foray into world-building by starting to place a chain-link fence. Are there free camera controls and clone tools I'm missing' date=' or does the GECK want me to shoot myself in the face?

[/quote']

 

Does this help?

 

http://www.youtube.com/watch?v=a5Zws2tvYR4

Guest Loogie
Posted

Thanks, that really saves my sanity. Last time I built a worldspace was for a DOOM II level replacement pack a friend and I made in 1997.

Posted

Ok so I'm still having no luck at all. I've attached the plugin as it stands if anyone can take a look please?

 

 

 

I think I saw this covered in another thread, but, you have dependencies on stuff that we do not have. This looks like the full list:

 

FalloutNV.esm

Sexout.esm

SexoutCommonResources.esm

SexoutCommonResources1.esm

SexoutCommonResource2s.esm

SexoutLegion.esm

 

 

Posted

OK first of all thank for the help concerning the SCR. However i have now got the correct ones (I think) and still the trigger fails to do ANYTHING. I have attached the new ESP and hope for some help, please? :)

 

 

Posted

Did not test in game but you have a major issue with "Westside CoOp".

You modified the original cell rather than the copy. That is going to break the Westide Quest.

 

Once that is corrected, try loading the mod in FNVedit and run "check for error"

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...