How am I able to...?

Topics regarding Scripting with Reality Factory
Post Reply
User avatar
Gamemaker
Posts: 266
Joined: Fri Aug 08, 2008 3:00 pm
Location: Estonia
Contact:

How am I able to...?

Post by Gamemaker » Sat Aug 21, 2010 11:39 pm

I want to make a wooden box, and if I shoot or hit it, it fades, and shoots out actors (pieces of wood), so it looks realistic. So I made a model of a box and added a joint there. Than in death order I wanted to write a command, to attach an actor (exploding pieces), but how am I able to attach an actor, that animates like I want. Usually if I attach a model, it animates like it's master pawn. :)

User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Re: How am I able to...?

Post by QuestOfDreams » Sun Aug 22, 2010 12:44 pm

If you use the script method AttachToActor the attached actor should not use the animations of the master actor, only if you use AttachBlendActor or AttachAccessory.
However, for this task I would just use an actorspray effect and add it with AddExplosion when the pawn gets destroyed.

User avatar
Gamemaker
Posts: 266
Joined: Fri Aug 08, 2008 3:00 pm
Location: Estonia
Contact:

Re: How am I able to...?

Post by Gamemaker » Mon Aug 23, 2010 1:34 am

Thanks a lot QOD! I got that work! =)

Post Reply