The Daily Click ::. Forums ::. Klik Coding Help ::. how to work with object groups? - IT'S ME AGAIN OPENING LAME TOPICS C -
 

Post Reply  Post Oekaki 
 

Posted By Message

columbo borgi :C



Registered
  07/12/2003
Points
  296

VIP Member
18th January, 2010 at 01:31:19 -

yo there fellaz, C:

i'm quite sure, there's a good solution for this but i can not figure out what should i do. :C

i have two object, in the same object group.
i create two seperate events with each one of those objects and it works great.
now i remove one of the event and replace the object with that object group and it is not working as it should.
(at least not as i think it should)
it seems like working, but not properly. it does the same to both objects. >>>:C

i have an event like this: (Alt.val.A[groupX] + Alt.val.E[fix.object] / Alt.val.B[groupX])
not exactly, a bit more complicated, but kinda uses only the group's object's Alt.vals.
and it seems like woking with only the first object's alt vals, but on the 2 object. >>>:C

and i also want it to be usable with more then 2 object. IS IT TOO MUCH WHAT I WANT??????????????? :C


how does these object groups exactly working?
it creates X events at runtime for each object inside? :C

I WANA SAVE EVENTS COZ OF 20 COMPO! HELP ME!!!!!!!! >:C


i mean, thanks for your replys Image

Edited by columbo borgi :C

 
:C

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
18th January, 2010 at 02:19:20 -

I'd need more information - like exactly what you're trying to do, and preferably a source file / event list.
As a general rule though, it's usually less problematic if you don't refer to individual objects and their parent group in the same expression.


 
n/a

columbo borgi :C



Registered
  07/12/2003
Points
  296

VIP Member
18th January, 2010 at 10:55:00 -

here's exactly what i have:

http://www.mediafire.com/?lvjen5no4dy

as u can see, the blue buddy and the orange pal are both in group neutral, but they have different alt.vals.
the orange fellow should fire more rapidly, but he shoots as the blue chum. :C

 
:C

Spitznagl

Cabinetmaker

Registered
  06/12/2008
Points
  4260

The SpinsterVIP MemberHas Donated, Thank You!Picture Me This Round 29 Winner!Picture Me This Round 31 Winner!Picture Me This Round 36 Winner!
18th January, 2010 at 11:30:48 -

It doesn't work because you're using the "compare two general values" action.
Fixed version: http://www.mediafire.com/?ioworymi2kj

You should definitly read these articles
http://www.create-games.com/article.asp?id=1960
http://www.create-games.com/article.asp?id=1975

 
...

Rob Westbrook



Registered
  25/05/2007
Points
  193

360 OwnerVIP Member
18th January, 2010 at 11:38:22 -

You need to correctly pick which object is supposed to be shooting at a particular time. If you're trying to go for as few events as possible I'd recommend:

- Always
Add 1 to Alt A of Group.Objects

- Alt A of Group.Objects >= Alt B of Group.Objects
Shoot whatever
Set Alt A to 0

Then set each of your objects up with a different Value B depending on how fast or slow you want them to fire.

 
There are 10 types of people in the world: Those who understand binary and those who don't.

columbo borgi :C



Registered
  07/12/2003
Points
  296

VIP Member
18th January, 2010 at 12:19:15 -

thank you guys so much,
i think i'm in with you


:C

 
:C

columbo borgi :C



Registered
  07/12/2003
Points
  296

VIP Member
19th January, 2010 at 17:15:27 -

// and can you tell me how buildt in movement speed is counted? that is like animation speed too? :\


whoops, wrong topig :C

Edited by columbo borgi :C

 
:C
   

Post Reply



 



Advertisement

Worth A Click