Quick CK questions Thread #2

Post » Tue Jun 19, 2012 4:34 pm

How do I use the 'GetQuestVariable' condition? I have an AI package, owned by a quest. The quest has only 1 script, and the script only has 1 variable.

I can choose the quest in the condition, but I am unable to choose any variables. Even if I change the quest script so that it is a property, the condition stays as 'Unknown' and will not allow me to choose any variable.

EDIT: Found my answer. Should have tried a forum search first: http://www.gamesas.com/topic/1348061-cant-select-variable-for-getvmquestvariable-trying-to-create-a-companion/
User avatar
lauraa
 
Posts: 3362
Joined: Tue Aug 22, 2006 2:20 pm

Post » Tue Jun 19, 2012 1:31 pm

How do you get an activemagiceffect script to trigger something in a quest script?
User avatar
Gemma Flanagan
 
Posts: 3432
Joined: Sun Aug 13, 2006 6:34 pm

Post » Tue Jun 19, 2012 10:24 pm

How do you get an activemagiceffect script to trigger something in a quest script?

Well, depends what you want to do. You should be able to start, stop, setstage and setobjectivecompleted from any script.
You can also check specific actors for hasmagiceffect.
User avatar
Justin
 
Posts: 3409
Joined: Sun Sep 23, 2007 12:32 am

Post » Tue Jun 19, 2012 2:11 pm

Edit...I think I need a thread for this after all.
User avatar
amhain
 
Posts: 3506
Joined: Sun Jan 07, 2007 12:31 pm

Post » Tue Jun 19, 2012 5:27 pm

I have a question about condition statement comparisons. I've read the http://www.creationkit.com/Condition and I'm still not sure how to do it.

If I wanted to express
(A && B) || (C && D)

in a condition, do I use
A	ANDB	ANDC	ORD	OR

or
A	ANDB	ANDC	ORD	AND

?

Or is it not possible and I would have to split it up into two:
Item 1:
A	ANDB	AND

Item 1 (Duplicate):
C    ANDD    AND

?
User avatar
Anthony Santillan
 
Posts: 3461
Joined: Sun Jul 01, 2007 6:42 am

Post » Tue Jun 19, 2012 1:30 pm

Haven't had to deal with it yet with the CK, but in the CS it would be

A AND
B OR
C AND
D ---- (AND / OR doesn't matter unless there are more conditions....)
User avatar
Richard Thompson
 
Posts: 3302
Joined: Mon Jun 04, 2007 3:49 am

Post » Tue Jun 19, 2012 3:29 pm

I have a question about condition statement comparisons. I've read the http://www.creationkit.com/Condition and I'm still not sure how to do it.

If I wanted to express
(A && B) || (C && D)

in a condition, do I use
A	ANDB	ANDC	ORD	OR

or
A	ANDB	ANDC	ORD	AND

?

Or is it not possible and I would have to split it up into two:
Item 1:
A	ANDB	AND

Item 1 (Duplicate):
C	ANDD	AND

?

Try
A and
B Or
C and
D (Doesn't matter)

There are no parentheticals, though, so I can't guarantee that it will get to the OR condition if A is false.
User avatar
P PoLlo
 
Posts: 3408
Joined: Wed Oct 31, 2007 10:05 am

Post » Tue Jun 19, 2012 1:29 pm

I think you want '2'.

I was just gonna ask if the was a hotkey summary anywhere, but of all the pages on the wiki with hotkey in, http://www.creationkit.com/Creation_Kit_Keyboard_Mapping was the first I clicked.


There is a hotkey list in the CK under either the 'View' or 'Window' menu. It is called 'Render Window Hotkeys' or something. It is the same exact list as what is on that link you posted but it also shows your custom hotkeys (if you have assigned any).
User avatar
lolli
 
Posts: 3485
Joined: Mon Jan 01, 2007 10:42 am

Post » Tue Jun 19, 2012 2:52 pm

I have a question about condition statement comparisons. I've read the http://www.creationkit.com/Condition and I'm still not sure how to do it.

If I wanted to express
(A && B) || (C && D)

in a condition, do I use
A	ANDB	ANDC	ORD	OR

or
A	ANDB	ANDC	ORD	AND

?

Or is it not possible and I would have to split it up into two:
Item 1:
A	ANDB	AND

Item 1 (Duplicate):
C	ANDD	AND

?

If it's not possible to get it without parentheticals, you could define whatever you're putting it on twice, and put A and B on the first copy, and C and D on the second, then make a third one that loads from the first one OR the second one, and use that one for your actual use.
User avatar
City Swagga
 
Posts: 3498
Joined: Sat May 12, 2007 1:04 am

Post » Tue Jun 19, 2012 4:36 pm

Well, I just did a test and I think it's impossible to express what I wanted without parentheses. Looks like I will need to duplicate packages (that's what I'm messing around with) in order to check for both sets of conditions.

These are the test results by the way:

Spoiler
[Conditions Test] A AND, B AND, C AND, D AND[Conditions Test] A AND, B AND, C AND, D OR[Conditions Test] A AND, B AND, C OR, D AND[Conditions Test] A AND, B AND, C OR, D OR[Conditions Test] A AND, B OR, C AND, D AND[Conditions Test] A AND, B OR, C AND, D OR[Conditions Test] A AND, B OR, C OR, D AND[Conditions Test] A AND, B OR, C OR, D OR[Conditions Test] A OR, B AND, C AND, D AND[Conditions Test] A OR, B AND, C AND, D OR[Conditions Test] A OR, B AND, C OR, D AND[Conditions Test] A OR, B AND, C OR, D OR[Conditions Test] A OR, B OR, C AND, D AND[Conditions Test] A OR, B OR, C AND, D OR[Conditions Test] A OR, B OR, C OR, D AND[Conditions Test] A OR, B OR, C OR, D OR[Conditions Test] A = TRUE, B = TRUE, C = TRUE, D = TRUE[Conditions Test] A OR, B AND, C AND, D AND[Conditions Test] A OR, B AND, C OR, D AND[Conditions Test] A OR, B AND, C AND, D OR[Conditions Test] A OR, B AND, C OR, D OR[Conditions Test] A OR, B OR, C AND, D AND[Conditions Test] A OR, B OR, C AND, D OR[Conditions Test] A OR, B OR, C OR, D AND[Conditions Test] A OR, B OR, C OR, D OR[Conditions Test] A = False, B = TRUE, C = TRUE, D = TRUE[Conditions Test] A AND, B OR, C AND, D AND[Conditions Test] A AND, B OR, C AND, D OR[Conditions Test] A AND, B OR, C OR, D AND[Conditions Test] A AND, B OR, C OR, D OR[Conditions Test] A OR, B AND, C AND, D AND[Conditions Test] A OR, B AND, C AND, D OR[Conditions Test] A OR, B AND, C OR, D AND[Conditions Test] A OR, B AND, C OR, D OR[Conditions Test] A OR, B OR, C AND, D AND[Conditions Test] A OR, B OR, C AND, D OR[Conditions Test] A OR, B OR, C OR, D AND[Conditions Test] A OR, B OR, C OR, D OR[Conditions Test] A = TRUE, B = False, C = TRUE, D = TRUE[Conditions Test] A AND, B AND, C OR, D AND[Conditions Test] A AND, B AND, C OR, D OR[Conditions Test] A AND, B OR, C AND, D AND[Conditions Test] A AND, B OR, C AND, D OR[Conditions Test] A AND, B OR, C OR, D AND[Conditions Test] A AND, B OR, C OR, D OR[Conditions Test] A OR, B AND, C OR, D AND[Conditions Test] A OR, B AND, C OR, D OR[Conditions Test] A OR, B OR, C AND, D AND[Conditions Test] A OR, B OR, C AND, D OR[Conditions Test] A OR, B OR, C OR, D AND[Conditions Test] A OR, B OR, C OR, D OR[Conditions Test] A = TRUE, B = TRUE, C = False, D = TRUE[Conditions Test] A AND, B AND, C OR, D AND[Conditions Test] A AND, B AND, C OR, D OR[Conditions Test] A AND, B OR, C OR, D AND[Conditions Test] A AND, B OR, C OR, D OR[Conditions Test] A OR, B AND, C OR, D AND[Conditions Test] A OR, B AND, C OR, D OR[Conditions Test] A OR, B OR, C OR, D AND[Conditions Test] A OR, B OR, C OR, D OR[Conditions Test] A = TRUE, B = TRUE, C = TRUE, D = False[Conditions Test] A OR, B OR, C AND, D AND[Conditions Test] A OR, B OR, C AND, D OR[Conditions Test] A OR, B OR, C OR, D AND[Conditions Test] A OR, B OR, C OR, D OR[Conditions Test] A = False, B = False, C = TRUE, D = TRUE[Conditions Test] A OR, B AND, C OR, D AND[Conditions Test] A OR, B AND, C OR, D OR[Conditions Test] A OR, B OR, C AND, D AND[Conditions Test] A OR, B OR, C AND, D OR[Conditions Test] A OR, B OR, C OR, D AND[Conditions Test] A OR, B OR, C OR, D OR[Conditions Test] A = False, B = TRUE, C = False, D = TRUE[Conditions Test] A OR, B AND, C OR, D AND[Conditions Test] A OR, B AND, C OR, D OR[Conditions Test] A OR, B OR, C OR, D AND[Conditions Test] A OR, B OR, C OR, D OR[Conditions Test] A = False, B = TRUE, C = TRUE, D = False[Conditions Test] A AND, B OR, C OR, D AND[Conditions Test] A AND, B OR, C OR, D OR[Conditions Test] A OR, B AND, C OR, D AND[Conditions Test] A OR, B AND, C OR, D OR[Conditions Test] A OR, B OR, C AND, D AND[Conditions Test] A OR, B OR, C AND, D OR[Conditions Test] A OR, B OR, C OR, D AND[Conditions Test] A OR, B OR, C OR, D OR[Conditions Test] A = TRUE, B = False, C = False, D = TRUE[Conditions Test] A AND, B OR, C OR, D AND[Conditions Test] A AND, B OR, C OR, D OR[Conditions Test] A OR, B AND, C OR, D AND[Conditions Test] A OR, B AND, C OR, D OR[Conditions Test] A OR, B OR, C OR, D AND[Conditions Test] A OR, B OR, C OR, D OR[Conditions Test] A = TRUE, B = False, C = TRUE, D = False[Conditions Test] A AND, B OR, C OR, D AND[Conditions Test] A AND, B OR, C OR, D OR[Conditions Test] A OR, B OR, C OR, D AND[Conditions Test] A OR, B OR, C OR, D OR[Conditions Test] A = TRUE, B = TRUE, C = False, D = False[Conditions Test] A OR, B OR, C OR, D AND[Conditions Test] A OR, B OR, C OR, D OR[Conditions Test] A = TRUE, B = False, C = False, D = False[Conditions Test] A OR, B OR, C OR, D AND[Conditions Test] A OR, B OR, C OR, D OR[Conditions Test] A = False, B = TRUE, C = False, D = False[Conditions Test] A OR, B OR, C OR, D AND[Conditions Test] A OR, B OR, C OR, D OR[Conditions Test] A = False, B = False, C = TRUE, D = False[Conditions Test] A OR, B OR, C OR, D AND[Conditions Test] A OR, B OR, C OR, D OR[Conditions Test] A = False, B = False, C = False, D = TRUE[Conditions Test] A = False, B = False, C = False, D = False
User avatar
Victoria Vasileva
 
Posts: 3340
Joined: Sat Jul 29, 2006 5:42 pm

Post » Tue Jun 19, 2012 8:00 pm

Try... A OR B AND B OR C AND A OR D AND B OR D

and no I didn't just work that out. It just happens that example is used on the http://geck.gamesas.com/index.php/Category:Conditions#AND.2FOR_Precedence wiki page.

@aWes0m3, Thanks :)
User avatar
Chloe Botham
 
Posts: 3537
Joined: Wed Aug 30, 2006 12:11 am

Post » Tue Jun 19, 2012 6:25 am

Just looked at the page, and I'm not sure that's correct... The conditions

(A OR B) AND (B OR C) AND (A OR D) AND (B OR D)

are close, but not quite the same as

(A && B) || (C && D)

If for example, A and B were both false, and C and D were true, what happens?

(A OR B) AND (B OR C) AND (A OR D) AND (B OR D)
evaluates to "False AND True AND True AND True" which simplifies to False.

(A && B) || (C && D)
evaluates to "False OR True" which simplifies to True.

Edit: the smilies...

EDIT2: Never mind, figured it out. That's a typo on the Geck page. It should say:

(A OR C) AND (B OR C) AND (A OR D) AND (B OR D)
User avatar
Mrs. Patton
 
Posts: 3418
Joined: Fri Jan 26, 2007 8:00 am

Post » Tue Jun 19, 2012 8:33 pm

EDIT2: Never mind, figured it out. That's a typo on the Geck page. It should say:

(A OR C) AND (B OR C) AND (A OR D) AND (B OR D)

Fixed.
If it still works that way in skyrim might be worth adding to the ck wiki.
How the hell will FO4 modders find it otherwise :)
User avatar
Penny Flame
 
Posts: 3336
Joined: Sat Aug 12, 2006 1:53 am

Post » Tue Jun 19, 2012 11:06 am

What plant does this look like to you? http://i221.photobucket.com/albums/dd141/SachioD/ScreenShot315.jpg

The answer to this question will determine if I have to redo the plant or not.
User avatar
carrie roche
 
Posts: 3527
Joined: Mon Jul 17, 2006 7:18 pm

Post » Tue Jun 19, 2012 6:24 am

What plant does this look like to you? http://i221.photobucket.com/albums/dd141/SachioD/ScreenShot315.jpg

The answer to this question will determine if I have to redo the plant or not.
To me it looks like it came from Borderlands.
User avatar
kiss my weasel
 
Posts: 3221
Joined: Tue Feb 20, 2007 9:08 am

Post » Tue Jun 19, 2012 5:32 pm

What plant does this look like to you? http://i221.photobucket.com/albums/dd141/SachioD/ScreenShot315.jpg

The answer to this question will determine if I have to redo the plant or not.

marsh grass? The really tall type.
User avatar
Talitha Kukk
 
Posts: 3477
Joined: Sun Oct 08, 2006 1:14 am

Post » Tue Jun 19, 2012 3:45 pm

It's supposed to be a sugarcane hybrid. :(
User avatar
Andy durkan
 
Posts: 3459
Joined: Fri Aug 03, 2007 3:05 pm

Post » Tue Jun 19, 2012 6:12 am

It's supposed to be a sugarcane hybrid. :(

Well sugarcane IS a large grass species of sorts...I'd make the stalks thicker, and the leaves a bit more sparse.
User avatar
FoReVeR_Me_N
 
Posts: 3556
Joined: Wed Sep 05, 2007 8:25 pm

Post » Tue Jun 19, 2012 4:37 pm

What I'll do is just separate the bottom dry leaf part from the rest, that way others can decide how leafy they want their sugarcane to look by simply not placing as many underneath the main plant. Or they can put even more.
User avatar
Chloe Yarnall
 
Posts: 3461
Joined: Sun Oct 08, 2006 3:26 am

Post » Tue Jun 19, 2012 7:12 pm

Does quest.reset() clear all aliases of the quest or do I have to manually .clear() them?
Using a quest to find the targets of a spell, and of course the targets are supposed to be different every time I cast. The quest resets after every run, but the aliases seem to persist.
User avatar
BRIANNA
 
Posts: 3438
Joined: Thu Jan 11, 2007 7:51 pm

Post » Tue Jun 19, 2012 6:15 am

Does quest.reset() clear all aliases of the quest or do I have to manually .clear() them?
Using a quest to find the targets of a spell, and of course the targets are supposed to be different every time I cast. The quest resets after every run, but the aliases seem to persist.

What conditions are you using for your aliases? If you want to make sure dead NPCs don't continue filling aliases, make sure they don't have "Allow Dead" checked.

Also, to force the aliases to refill, you could use Stop() and Start() instead of Reset()
User avatar
Rachel Cafferty
 
Posts: 3442
Joined: Thu Jun 22, 2006 1:48 am

Post » Tue Jun 19, 2012 2:01 pm

Hi, I'm planning on making my own set of custom Shrouded Armor Set enchantments because I would rather a few changes. I have just a quick question. And I am also assuming that I can at least assign 2 enchantments to 1 item.

I plan on changing the hood to where instead of bows it grants constant water breathing and a toggle night eye power. Water breathing should be easy enough but how would I assign to where when the hood is worn the player is granted a new power that can be toggled via activation.

I am also planning adjustments to the armor and the gloves.

Essentially i want :

water breathing/toggle night eye on hood

Stamina regen on armor

The standard backstab and the bow enchantment from the hood on the gloves

Boots are fine as is.
User avatar
Claire
 
Posts: 3329
Joined: Tue Oct 24, 2006 4:01 pm

Post » Tue Jun 19, 2012 5:03 pm

..
User avatar
Bee Baby
 
Posts: 3450
Joined: Sun Jun 18, 2006 4:47 am

Post » Tue Jun 19, 2012 7:11 pm

Hello!
I made a quest, but in game there is no dialogue, I mean the dialogue doesnt open. I have enabled "Start Game Enable" in quest? tab. But, the dialogue dont want to open. Where the problem can be?
User avatar
Rob
 
Posts: 3448
Joined: Fri Jul 13, 2007 12:26 am

Post » Tue Jun 19, 2012 10:56 am

Hi, I'm planning on making my own set of custom Shrouded Armor Set enchantments because I would rather a few changes. I have just a quick question. And I am also assuming that I can at least assign 2 enchantments to 1 item.

I plan on changing the hood to where instead of bows it grants constant water breathing and a toggle night eye power. Water breathing should be easy enough but how would I assign to where when the hood is worn the player is granted a new power that can be toggled via activation.

I am also planning adjustments to the armor and the gloves.

Essentially i want :

water breathing/toggle night eye on hood

Stamina regen on armor

The standard backstab and the bow enchantment from the hood on the gloves

Boots are fine as is.

Does any one with CK knowledge even look at this thread?
User avatar
Scared humanity
 
Posts: 3470
Joined: Tue Oct 16, 2007 3:41 am

PreviousNext

Return to V - Skyrim