Jump to content

Super Stimpacks


Gaz1

Recommended Posts

I'm trying to script the delayed damage effect for Super Stimpacks, except that the GECK doesn't like the script when I assign it to the super stimpack item.

 

Here's my script.

 

ScriptName TimedDamage
short controlvar 
float timer 
begin gamemode 
set timer to 10 
If  controlvar == 0 
if timer > 0  
	set timer to timer - GetSecondsPassed 
else  
	Cast StimpackDamage Player
set controlvar to 1  
endif
endif
end

 

It does save ok though with no syntax errors. Can anyone see what's wrong with it?

 

I've also made Mega Stimpacks, although I wouldn't recommend using them... yet.

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

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