Jump to content

Help with Detect Virginity spell


The Man in Black

Recommended Posts

Posted

I’m trying to create a spell to detect whether any surrounding NPCs are virgins, but I can’t get it to work and could use some help.

 

The spell is a concentration spell with two magic effects:

 

1. A cloak effect with an OnEffectStart() event that checks akTarget’s SexLab stats. If she has not had sex, it puts her in the DetectVirgin faction, else it removes her from the faction (in case the status has changed between castings).

 

2. A detect life effect with IsInFaction == DetectVirgin as a condition.

 

My understanding is that concentration spells reapply their effects every second, so the first effect should stick a target in the faction right away, then the detect life effect should see it a moment later and start highlighting. Is this correct? Is there a better approach to this? I couldn’t figure out a way to access the SL stats directly as a condition. Thanks!

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...