Triggering a spell using the game time clock?

Post » Thu Jun 21, 2012 3:58 am

As the title suggests, I want to trigger/disable a spell/power and it's effects at certain times. Namely at 20:00 (enable) and 05:00 (disable).

I believe it has something to do with "game time update", but I'm unsure of the necessary process and procedures. Nor can I find anything relative to this in the CK.

Any tips/leads would be greatly appreciated.

TIA, Trykz
User avatar
Sun of Sammy
 
Posts: 3442
Joined: Mon Oct 22, 2007 3:38 pm

Post » Wed Jun 20, 2012 4:01 pm

If GameHour.http://www.creationkit.com/GetValue_-_GlobalVariable > #. That global is maintained by the engine (military time).
User avatar
Charlie Sarson
 
Posts: 3445
Joined: Thu May 17, 2007 12:38 pm

Post » Wed Jun 20, 2012 10:58 pm

If your spell is actually an ability, then you could just condition the magic effect so that it's only active when GameHour > 20 or GameHour < 5.
User avatar
Emma louise Wendelk
 
Posts: 3385
Joined: Sat Dec 09, 2006 9:31 pm

Post » Wed Jun 20, 2012 7:41 pm

If GameHour. > #. That global is maintained by the engine (military time).

Yes, but what is the process/implementation of it?

I'm sorry if explaining it is a hassle, but I really want this to work right. I'm pretty proficient with most parts of the CK, but haven't really touched on quest or script related stuff yet.

Again, thank you for any assistance you can provide.
User avatar
Music Show
 
Posts: 3512
Joined: Sun Sep 09, 2007 10:53 am

Post » Wed Jun 20, 2012 7:31 pm

If your spell is actually an ability, then you could just condition the magic effect so that it's only active when GameHour > 20 or GameHour < 5.

It's actually a race specific power. And thanks for the info.
User avatar
Carlitos Avila
 
Posts: 3438
Joined: Fri Sep 21, 2007 3:05 pm

Post » Wed Jun 20, 2012 10:57 pm

I got it sorted and it works perfectly. Thank you both for the leads :biggrin:
User avatar
lillian luna
 
Posts: 3432
Joined: Thu Aug 31, 2006 9:43 pm


Return to V - Skyrim