Creating custom weapons - VScript: Difference between revisions
From TF2 Classified Wiki
More actions
I did a lot. |
|||
| Line 36: | Line 36: | ||
} | } | ||
</pre> | </pre> | ||
And later we can do <code>__CollectGameEventCallbacks(AttributeTable)</code> which collects all of our functions in the table and acts on them. | And later we can do <code>__CollectGameEventCallbacks(AttributeTable)</code> which collects all of our functions in the table and acts on them.<br> | ||
While there is no such thing as a "medic no heal" attribute, we can just make one up in our item schema like this: | While there is no such thing as a "medic no heal" attribute, we can just make one up in our item schema like this: | ||
<pre> | <pre> | ||