| Blockland Forums > Modification Help |
| Milkshape question? |
| (1/2) > >> |
| BlackMod:
If i add an animation in milkshape...how do i call to use it in a script? |
| TheKhoz:
You would have to name reload it when exporting, and then: --- Code: ---function WEAPONNAMEWeapon::onAdd(%this,%obj) { %obj.playthread(0, reload); } --- End code --- |
| BlackMod:
Okay, would it be possible to have more then one animation? |
| TheKhoz:
Yes. Just do this: --- Quote from: TheKhoz on January 06, 2011, 09:14:48 PM ---You would have to name animation it when exporting, and then: --- Code: ---function WEAPONNAMEWeapon::onAdd(%this,%obj) { %obj.playthread(0, animation); } --- End code --- --- End quote --- |
| BlackMod:
Thank you. |
| Navigation |
| Message Index |
| Next page |