Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, dr_panther, AndrewAMD, Ayumi), 789 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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 | 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