Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (Grant), 999 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
When do you use event_push ? #266140
05/16/09 09:10
05/16/09 09:10
Joined: Mar 2006
Posts: 321
Norway
Eagelina Offline OP
Senior Member
Eagelina  Offline OP
Senior Member

Joined: Mar 2006
Posts: 321
Norway
I am looking thru the manual and came over this:

When or how are you using: ?
EVENT_PUSH

and what does this mean: push parameter:
Run over by another entity with a higher push parameter.


A6 and A7 Commercial
-------------------
Programmer always searching for more to learn and understand. smile
Re: When do you use event_push ? [Re: Eagelina] #266242
05/17/09 00:38
05/17/09 00:38
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Ive never used push at all, but heres my understanding of it.

Think of the push value like a weight when you have a collision.

Assuming both objects have their ENABLE-PUSH flags on:
1> A high-push object hits a low-push object, the high-push will not get
a collision event, and will continue moving. The low-push object will recieve an EVENT_PUSH event.
2> A low-push object hits a high-push object, the low-push will recieve an
EVENT_IMPACT event ans stop moving. The high-push object will recieve no
event triggers, I think.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: When do you use event_push ? [Re: EvilSOB] #266245
05/17/09 00:57
05/17/09 00:57
Joined: Apr 2009
Posts: 298
Southern Oceans
KiwiBoy Offline
Member
KiwiBoy  Offline
Member

Joined: Apr 2009
Posts: 298
Southern Oceans
Sounds usefull for flocking behaviour, something like an avoidence behaviour even in swarms.
Does it still work?

I too have never used it as it was from A5 days I think.


Use the 'manual' Luke, the manual is your friend. 'Self reminder' smile

My WebPage

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1