Difference between revisions of "Deadcount on a weapon"
Jump to navigation
Jump to search
no edit summary
imported>Darkness X (New page: ==Introduction== In this article we are going to create a script to count the total kills of the weapon currently used by the player. This script is going to be quite similar to the Dawnfa...) |
imported>Darkness X |
||
Line 49: | Line 49: | ||
<blockquote> | <blockquote> | ||
'''''* EditorID: DeadCount | ''''' | ||
* EditorID: DeadCount | |||
* Variable Type: Short | * Variable Type: Short | ||
* Value: 0''''' | * Value: 0 | ||
''''' | |||
</blockquote> | </blockquote> | ||
<blockquote> | <blockquote> | ||
'''''* EditorID: TotalCount | ''''' | ||
* EditorID: TotalCount | |||
* Variable Type: Short | * Variable Type: Short | ||
* Value: 0''''' | * Value: 0 | ||
''''' | |||
</blockquote> | </blockquote> | ||
Line 183: | Line 187: | ||
==Notes== | ==Notes== | ||
If you want to create more than one weapon that is using this script you might want to create new globals if you don’t want them to be mixed up. (Copy “DeadCount” and “TotalCount” and change them into “DeadCount2” and | If you want to create more than one weapon that is using this script you might want to create new globals if you don’t want them to be mixed up. (Copy “DeadCount” and “TotalCount” and change them into “DeadCount2” and “TotalCount2” or something.) This was a short solution on how to get a deadcount on a weapon. I hope this script was of some use to you. If there are some problems or if you have some questions, please put them on the [[Talk:Deadcount on a weapon|talk]] page of this article and not on this page. | ||
==Useful Code== | |||
{{Category:Useful Code}} | {{Category:Useful Code}} |