Increasing astage by 10 ++?

Post » Thu Jun 21, 2012 4:54 pm

How is the grammar to increase a stage similar to setstage but instead than a specific stage number set an increment by 10?
User avatar
Laura Hicks
 
Posts: 3395
Joined: Wed Jun 06, 2007 9:21 am

Post » Thu Jun 21, 2012 11:17 am

How is the grammar to increase a stage similar to setstage but instead than a specific stage number set an increment by 10?

Are you after something like:

SomeQuest.SetStage(SomeQuest.GetStage() + 10)

(I didn't test this, but is that what you're after?)
User avatar
carley moss
 
Posts: 3331
Joined: Tue Jun 20, 2006 5:05 pm

Post » Thu Jun 21, 2012 7:52 am

probalby -... Like if I am in quest stage 10 .... when the player does one action , it increases the stage by 10 bringing to 20 then when player does something else it brings to 30 and so on ...

I used GetOwningQuest().SetStage(GetOwningQuest().GetStage() + 10)
User avatar
Steph
 
Posts: 3469
Joined: Sun Nov 19, 2006 7:44 am

Post » Thu Jun 21, 2012 7:09 am

probalby -... Like if I am in quest stage 10 .... when the player does one action , it increases the stage by 10 bringing to 20 then when player does something else it brings to 30 and so on ...

Okay, try that then.
User avatar
mimi_lys
 
Posts: 3514
Joined: Mon Apr 09, 2007 11:17 am


Return to V - Skyrim