Difference between revisions of "Category talk:Scripting"
Jump to navigation
Jump to search
no edit summary
imported>Eallman m |
imported>Eallman |
||
Line 60: | Line 60: | ||
The problem is constructing the script in sucha way that you gon't get a looped reference from player.getav. Working on it. | The problem is constructing the script in sucha way that you gon't get a looped reference from player.getav. Working on it. | ||
[[User:Eallman|Eallman]] 18:19, 6 April 2006 (EDT) | |||
Found it! To use a negative variable for PLayer.modav, you have to first set ANOTHER variable to the negative value you want to use: | |||
var2= -var1 | |||
PLayer.modav var2 | |||
very Byzantine, but it does indeed work |