need a help

Non-platform specific questions.

Re: need a help

Postby schnellboot » Sat Dec 11, 2010 8:23 am

with variables
actor2 - Collision(actor1) - Script Editor - [variable1]=1;
actor3 - Collision(actor1) - Script Editor - [variable2]=1;
actor2 - Collision Finish(actor1)- Script Editor - [variable1]0;
actor3 - Collision Finish(actor1) - Script Editor - [variable2]0;

actor1 - draw actor - script editor
if ([variable1]==1 && [variable2]==1)
{
//destroy actor
}
schnellboot
 
Posts: 819
Joined: Sat Mar 31, 2007 1:35 pm
Location: Germany
Score: 102 Give a positive score

Re: need a help

Postby skydereign » Sat Dec 11, 2010 8:52 am

If you want to do it with three of the same actor, this method will work. It uses getAllActorsInCollision. If you want any of it explained, ask, but for now it's all in here. The collision event of course is the important one.
Attachments
tripleCollision.ged
(1.57 KiB) Downloaded 53 times
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: need a help

Postby schnellboot » Sat Dec 11, 2010 10:50 am

I helped you too......
schnellboot
 
Posts: 819
Joined: Sat Mar 31, 2007 1:35 pm
Location: Germany
Score: 102 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest