Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (NewbieZorro, Grant, TipmyPip, AndrewAMD), 13,346 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Passable entity event problem #147786
08/14/07 00:23
08/14/07 00:23
Joined: Jun 2006
Posts: 6
V
virror Offline OP
Newbie
virror  Offline OP
Newbie
V

Joined: Jun 2006
Posts: 6
I want to make something like this:

Code:
action something
{
my.enable_impact = ON;
my.event = some_event;
}

function some_event
{
your.pan += 90;
}



But the problem is that it wont work if the entity that the action belongs to is passable, what should i do?
I cant find an event that can handle passable entitys.

Re: Passable entity event problem [Re: virror] #147787
08/14/07 02:11
08/14/07 02:11
Joined: Sep 2002
Posts: 700
Orange County, CA
L
LogantheHogan Offline
Developer
LogantheHogan  Offline
Developer
L

Joined: Sep 2002
Posts: 700
Orange County, CA
use event_trigger, or use c_scan and then event_scan or event_detect.

OR

if you wrote your own movement code, then in your line that moves the player add ignore_you to the MODE. then make the entity unpassable. the player will still trigger its events, but will pass through it on impact.


Gamestudio download | 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