[HL Mod] C++ Scripting Help
Hi, I need help with code line/s if you can.
I have a model with 11 different body sub-models and I don't know how to do so the Plugin choose random sub-model from the model file. What for lines do I need to add? Code:
void CMZombie :: Spawn() |
Re: [HL Mod] C++ Scripting Help
ou have different sequences of one model in one file ?
if yes, just set pev->sequence to sequence index you need.... (or random one) |
Re: [HL Mod] C++ Scripting Help
its not sequency, its the body part, sub-models.
|
Re: [HL Mod] C++ Scripting Help
Tryed with
Code:
pev->body = -1; want it to be random body parts. |
Re: [HL Mod] C++ Scripting Help
Figured it out.
Thanks. |
Re: [HL Mod] C++ Scripting Help
ooops
|
All times are GMT +2. The time now is 13:54. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.