Jump to content


PsychoWedge

Member Since 16 Jun 2014
Offline Last Active Dec 11 2022 10:43 AM

Topics I've Started

fj_schedule

16 June 2014 - 03:18 AM

Hey there

 

I just discovered the fj_are_structure function in the weidu manual and I like it very much. xD So I add an actor to an area and that works flawlessly. But I don't understand how fj_schedule is supposed to work. In the manual it is written that the bits to use are 0-23 which I assumed to be the hours of the day which would coincide with the 24 flags for the hours for an actor in an area. I'd like for my NPC to be present from 8:30 to 20:29 but whatever number I write after fj_schedule it only flags flags between 00:30 and 04:30. Sometimes it flags more than one, sometimes it flags only one. I've gone through all 24 numbers but I don't get anything usefull.

 

Can somebody explain to me what I miss? ^^

 

 

Btw, this is my code with 18 as an example for fj_schedule :

 

COPY_EXISTING ~ar6700.are~ ~override~
  LPF fj_are_structure
    INT_VAR
    fj_loc_x          = 1917
    fj_loc_y          = 1561
    fj_dest_x         = 1917
    fj_dest_y         = 1561
    fj_animation      = 0xC710
    fj_orientation    = 3
    fj_schedule       = 18
    STR_VAR
    fj_structure_type = actor
    fj_name           = PWzoiya
    fj_cre_resref     = PWzoiya
  END

The 18 flags 01:30-02:29 and 04:30-05:29 but nothing else. If I use 10 for example, it flags 01:30-02:29 and 03:30-04:29 but nothing else.