AriWerd Posted April 18, 2015 Share Posted April 18, 2015 I've got a character who summons a helper to act as a shield until either its animation runs out or it is hit. It's got a couple of problems. 1) I only want one copy of the the shield up at a time. Right now, the character can summon multiple copies. 2) If the shield is hit with an attack the helper appears as a copy of the character that just sort of floats there doing nothing. Help would be appreciated. Thanks, -AW Link to comment Share on other sites More sharing options...
0 Neo_Fire_Sonic Posted April 19, 2015 Share Posted April 19, 2015 I can help with your first problem, to make it so your character is not able to perform the state which makes them summon the helper [state -1] type = ChangeState value = 1000 triggerall = numhelper(put helper number in here) = 0 <- Right here, in the command file for your character, make sure the change state has this code on it. triggerall = command = "Somecommand" trigger1 = statetype = S Link to comment Share on other sites More sharing options...
0 AriWerd Posted April 20, 2015 Author Share Posted April 20, 2015 Perfect. Thank you very much. Also, I managed to fix the second part by adding a hitoveride that ended with a destroyself. Perhaps it's the long way around, but it works. Thanks again, -AW Link to comment Share on other sites More sharing options...
0 Ryon Posted April 20, 2015 Share Posted April 20, 2015 yeah basically you solved the second part. GOOD JOB! Link to comment Share on other sites More sharing options...
Question
AriWerd
I've got a character who summons a helper to act as a shield until either its animation runs out or it is hit. It's got a couple of problems.
1) I only want one copy of the the shield up at a time. Right now, the character can summon multiple copies.
2) If the shield is hit with an attack the helper appears as a copy of the character that just sort of floats there doing nothing.
Help would be appreciated.
Thanks,
-AW
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now