Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
~ if item isn't equipped, get out now
doneif (field[gIsEquip].value = 0)
~ increase trip cmb by +2
hero.child[manTrip].field[cmbBonus].value += 2
hero.child[manTrip].field[cmbBonComp].value = maximum(hero.child[manTrip].field[cmbBonComp].value,2)
Oddly enough, I've been debating trying to put together some form of community KB/API for those of us crazy enough to do lots of our own work on HL, potentially an interesting project if people feel it would be worthwhile.
There is a sticky by Mathias called "Editor and Scripting Resources" if you want something to look at in the meantime however.
For "solid" examples of Feats, classes, and many other Things is to find something similar and do a "New Copy" and look at its scripts. That will give you concrete examples to work from.