Games Support Forums BioWare Info My Account Login Community Sign Up Store
Neverwinter Nights 2 Forums

NWN2: Builders - NWN2 Toolset

New Topic    Post Reply


    Add this To My Topics

   Go To Bottom

Author Game end state?
katar-triple-death
Game Owner
Profile: katar-triple-deathNWN 2
NWN 2: MotB


Joined: 02 Nov 2009
From: Heplip
Posted: Tuesday, 03 November 2009 01:17AM
I would like to have the game end when the player accomplishes the mission, after a brief conversation with an NPC stating that the mission is completed.

If someone can let me know if this is possible and how to do it it'd be greatly appreciated. By the way I have no knowledge of scripting or programming (and I'm new to the Toolset).

Thanks!

Edited By katar-triple-death on 11/03/09 01:17

  Profile: katar-triple-death   Send Message To: katar-triple-death
Shallina
Game Owner
Profile: ShallinaNWN 2
Mass Effect PC


Joined: 07 Nov 2007
Posted: Tuesday, 03 November 2009 09:24AM
easy : there is a function EndGame.

void main(){

EndGame();

}

MAke a script like this and call it at the end of your conversation.

You can call a end movie in paramater.

Edited By Shallina on 11/03/09 09:25

  Profile: Shallina   Send Message To: Shallina
PJ156
Game Owner
Profile: PJ156NWN
NWN: SoU
NWN: HotU
NWN 2
NWN 2: SoZ


Joined: 23 Dec 2008
From: UK Dorset
Posted: Tuesday, 03 November 2009 10:04PM
If you don't feel up to writing your own script then you can use ga_end_game which is in the standard scropts supplied. You could also use fade to black to soften the ending a little.

PJ
  Profile: PJ156   Send Message To: PJ156
katar-triple-death
Game Owner
Profile: katar-triple-deathNWN 2
NWN 2: MotB


Joined: 02 Nov 2009
From: Heplip
Posted: Tuesday, 03 November 2009 10:29PM
Thanks! I'll look into these and probably go with the latter (at least initially) since I don't know anything about scripting.
  Profile: katar-triple-death   Send Message To: katar-triple-death

New Topic    Post Reply

What do these icons mean?
Where can I learn how to use the forums?

Jump To:

Search Forums | Forums FAQ | Forum Archives

 

 

  Visit the Official Site | Technical Support
Neverwinter Nights 2 Official Support
Hide/Show

English
Deutsch
Français
Español
Italiano

Hide/Show

5,052,741 Users
199 Online
43 Logged In

8,768,829 posts in forums

Newest Forum Topics:
1. Trying to unlock The Edge (BioWare Online Store Support)

2. Transfering Shepard's appearance (Mass Effect 2 General Discussion (No Spoilers Allowed))

3. Jade Empire's History (Jade Empire Xbox General Discussion (Spoilers Will Be Moved))

4. can't change language (Web Site Help)

5. which script launches the crafti... (NWN 1: Scripting)


Current time is: (set time)
Sun, 22 November 2009 09:45AM