Jump to content

#82 (0x52) Set AI Script


Recommended Posts

 Note:

    Effect is always instantaneous/delayed.
    AREA and SPECIFICS can only be set on non-global creatures (not potential party members or familiars), and are lost upon saving & reload.
Note:
  • Effect is always instantaneous/delayed.
  • AREA and SPECIFICS can be set to party members also only be set on non-global creatures (not potential party members or familiars), and are lost upon saving & reload.

AI button need to be enabled for all scripts attached to party members include temporary area/specifics scripts except override scripts, they are always active.

Edited by Gamemacik
Link to post

It's also tricky wording: a potential party member is not equal to a party member. But after a join, they're all global (stored in the GAM).

Link to post
5 hours ago, lynx said:

It's also tricky wording: a potential party member is not equal to a party member. But after a join, they're all global (stored in the GAM).

The vanilla NPC's are global even before they join.  But yeah, testing conditions were botched.

Either way, the opcode sets the script in the creature substructure, which is why AREA and SPECIFICS are not saved.
For non-global creatures, this means that it cannot replace any scripts that creature has assigned in the *.ARE file (both get run).
For global creatures, it makes no difference, as they don't have scripts assigned in the *.ARE.

Link to post
Guest
Reply to this topic...

×   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...