Building & Scripting > Scripting Board

Quest flags question

<< < (3/3)

Leonardo:

--- Quote from: Tocharaeh on July 02, 2009, 12:07:15 am ---Hey, another question. Is there a way to make a script only trigger if a person has detect invis/sense life on?

--- End quote ---

if %actor.affect(invisibility)%
   do something
else
   do something else
end

You can take the exact name of the spell to be put in the brackets from your AFF list. The dark-cyantext.

Navigation

[0] Message Index

[*] Previous page

Go to full version