Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Creating custom weapons - VScript: Difference between revisions

From TF2 Classified Wiki
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>