Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
ObjectTemplate.RemoveTemplate https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=3798 |
Page 1 of 1 |
Author: | smytti12 [ Wed Feb 06, 2008 3:37 am ] |
Post subject: | ObjectTemplate.RemoveTemplate |
In the ObjectTemplate.RemoveTemplate how do u know what template is what number? |
Author: | Why Two Kay [ Wed Feb 06, 2008 3:51 am ] |
Post subject: | Re: ObjectTemplate.RemoveTemplate |
Count the number of AddTemplates for that object starting at the top (in objects.rfa, or where ever it was defined) with ZERO, and then count. So Object.create Something ObjectTemplate.addTemplate this ObjectTemplate.addTemplate that ObjectTemplate.someotherline ObjectTemplate.addTemplate pancakes this is ZERO that is ONE pancakes is TWO [Example names of course, I don't have the game installed to get real codes] You do not count any of the non-addTemplate lines. |
Author: | Losnar [ Wed Feb 06, 2008 6:20 am ] |
Post subject: | Re: ObjectTemplate.RemoveTemplate |
Author: | smytti12 [ Wed Feb 06, 2008 9:11 pm ] |
Post subject: | Re: ObjectTemplate.RemoveTemplate |
Yeah removing using the names definitely didnt work, but the numbers do. ![]() |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |