Greetings all,
I created a floor object of a barrel and then another floor object of a broken barrel. I made it so that when you attack the barrel it is destoryed and converts to the broken barrel floor object. My question is, how can I get it to drop items (like food) when the barrel is destoryed and converts to the broken barrel floor object. I am new to RTC, so maybe I am missing something here and I haven't had much practice with the relays and actions.
I notice under the floor object where you set it to what it converts to when destoryed there is an additional action field. I tried putting some different actions like, ACTION_CREATE_NEW_ON_FLOOR and then a couple different food items for object 1 & 2, but it keeps popping up with the following message:
"New object (action "ACTION_CREATE_NEW_ON_FLOOR") secondary action object will be ignored. Expecting no object.
I am really confused to what this addtional field does and how it works. Also, how I can get items to drop from the broken barrels. Any help with this would be much appreciated.
Thanks in advance!
~SD~
How to use a floor object (barrel) to drop items?
Moderator: George Gilbert
Forum rules
Please read the Forum rules and policies before posting.
Please read the Forum rules and policies before posting.
- ShaggyDowns
- Apprentice
- Posts: 39
- Joined: Tue Apr 08, 2008 10:59 pm
- Location: Here, There, Everywhere!
- Contact:
- ShaggyDowns
- Apprentice
- Posts: 39
- Joined: Tue Apr 08, 2008 10:59 pm
- Location: Here, There, Everywhere!
- Contact:
Hmmm...
I guess my next question would be if I would have to make the barrel a trigger and how? I haven't had much practice with the relays and actions yet, so I am not sure how I would go about doing that. Since I am new to RTC, I would think I would have to make the barrel a trigger. When it converts to the broken barrel by an attack, it would then trigger the relay or action to drop an item like food? Although I don't see how I can make the barrel a trigger, like I can a wallitem. I will give it a go and mess around with it a bit. Any extra help or advice would be much appreciated.
Thanks!
~SD~
I guess my next question would be if I would have to make the barrel a trigger and how? I haven't had much practice with the relays and actions yet, so I am not sure how I would go about doing that. Since I am new to RTC, I would think I would have to make the barrel a trigger. When it converts to the broken barrel by an attack, it would then trigger the relay or action to drop an item like food? Although I don't see how I can make the barrel a trigger, like I can a wallitem. I will give it a go and mess around with it a bit. Any extra help or advice would be much appreciated.
Thanks!
~SD~
- ShaggyDowns
- Apprentice
- Posts: 39
- Joined: Tue Apr 08, 2008 10:59 pm
- Location: Here, There, Everywhere!
- Contact:
Now that I can do! A great idea, behold the barrel monster that drops food for all!linflas wrote:i wouldn't do it that way.
i would clone a non-attacking and non-moving monster and call it monster_barrel for example.
when "killed", the barrel would be converted in something like flooritem_barrel_broken and would drop any objects a "monster" can carry...
Thanks for the help,
~SD~