Jump to content
Sign in to follow this  
filth

how do i set off a trigger when a fire is put out?

Recommended Posts

a little script methinks i need...

i've placed a fire in a map and set it to inflame = true.

what i want to happen is for a trigger to be set off when a player approaches the fire and uses the action command to put out the fire.

i know there's a command line that reads _it inflamed fire1,

which returns whether the fire is inflame or not, but i don't know how to use it in a script.

help plz.

ta

filth

Share this post


Link to post
Share on other sites

try

?(fire1 inflame true): hint "im onfire)

im not sure if you need to put and = between inflame and true

been a while since ive scripted ..

Share this post


Link to post
Share on other sites

beautiful.

thanks to you both.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×