Jump to content

If player is being irradiated.?.?.?


DingleMcDonglic

Recommended Posts

Is there a way I can get an npc to do something if the player is being irradiated?

 

does a "IsInRadiation" condition exist?

 

Example:

 

short doonce

float ftimer

 

begin gamemode

if ((player being in radiation condition) == 1 && (doonce == 0)

if timer < 5
set timer to timer + GetSecondsPassed

NPCREF.additem caps001 1(I'm not actually looking to add caps)

else

set timer to 0

endif

endif
end

 

I made that example ^^^ in a few sec so there is bound to be an error.

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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