Jump to content

scripting for dummies


TheBlob2

Recommended Posts

tell me what you think of this script, and if you can help me fill the missing parts or tell me what I got wrong, that would be much appreciated

begin gamemode

set weapon to getbaseobject

set user to getcontainer

 

end

 

begin oncombatstart

if user=\=player (how do i add a condition that detects that 'user' is NOT the player?)

unequipme

 

endif

 

begin onequip user weapon

user.modav agility -10 (how do i make it not decrease below 0?)

unquipme

equipme (how do i make this script work without making it repeat itself in a constant loop?)

user.modav agility 10

 

endif

 

 

end

 

 

 

Edited by TheBlob2
Link to comment
Share on other sites

  • Recently Browsing   0 members

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