SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Help

Reply
 
Thread Tools Search this Thread
Old 07-05-2017   #1
vinicius
méga trovăo!
 
vinicius's Avatar
Default How do I make a boss attack another boss?

I intend to make a fight of 2 bosses, what software can I use to change the boss's target? to he attacks another boss and ignores the player.
vinicius is offline   Reply With Quote
Old 07-05-2017   #2
Prime 2.0
Actually a decent lazy bum
Moderator
 
Prime 2.0's Avatar
Default

Set its target variable. You can do that directly with Lua, or use A_FindTarget. By default, the boss's target will switch to whatever hit it whenever it is damaged.

You should look up the SOC and Lua tutorials on the wiki for more information.
__________________
Science tells us that nothing can be proven, only rendered more likely to be true. If we do not question what we already know, how can we know, much less admit, when we're wrong? Such things are vital to progress.
Prime 2.0 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:34 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.