Jump to content
  • 0

Quest log quest, what does this .@i < means


Noctis

Question


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  226
  • Reputation:   13
  • Joined:  02/17/15
  • Last Seen:  

What does this part of the script means? in the quest db there is no 11134 or 11124

scrip.png

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  928
  • Reputation:   170
  • Joined:  04/05/13
  • Last Seen:  

.@name  - scope integer variable

 

.@i  = 11124;

You can see line 2 and line 4 in picture.

if(checkquest(.@i

mean

if(checkquest(11124

 

and it will loop  +1 +1 +1 +1 +1 will be

if(checkquest(11125 - 11134

 

//

Edit #1

This is quest 11124

 

Edited by TARTs
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  226
  • Reputation:   13
  • Joined:  02/17/15
  • Last Seen:  

34 minutes ago, TARTs said:

.@name  - scope integer variable

 

.@i  = 11124;

You can see line 2 and line 4 in picture.

if(checkquest(.@i

mean

if(checkquest(11124

 

and it will loop  +1 +1 +1 +1 +1 will be

if(checkquest(11125 - 11134

 

//

Edit #1

This is quest 11124

 

So if I want to replace that for completly new quests witch the ID's are 70253
70254
70255
70256
70257
70258

I need to put like this?

for ( .@i = 70256; .@i < 70258; .@i++ )
        if (checkquest(.@i,PLAYTIME) == 2) erasequest .@i;
    for( .@i = 70253; .@i <70256; .@i++ ) {
        .@j = checkquest(.@i,HUNTING);

Edited by Noctis
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  226
  • Reputation:   13
  • Joined:  02/17/15
  • Last Seen:  

nvm solved

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...