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
non-box trigger shape #224176
08/28/08 23:08
08/28/08 23:08
Joined: May 2008
Posts: 123
B
BES Offline OP
Member
BES  Offline OP
Member
B

Joined: May 2008
Posts: 123
Is is possible to create a trigger of arbitrary volume for use with events?

I'd like to have an event returned when my player enters a cylindrical region.

I've tried:
o making a model passable and using in_passable
-my player passes right through the region without triggering
o placing a non-passable model and setting the EVENT_BLOCK | EVENT_ENTITY flags, but then the player collides with the cylinder instead of being able to go through it

any ideas? Thanks so much for your time!

Re: non-box trigger shape [Re: BES] #224180
08/29/08 00:49
08/29/08 00:49
Joined: Mar 2007
Posts: 677
0x00000USA
M
MrCode Offline
User
MrCode  Offline
User
M

Joined: Mar 2007
Posts: 677
0x00000USA
Maybe you could have the entity disappear right when the player touches it, unless you need to keep it there as a condition (for instance, if the player needs to stay within the region for a certain amount of time for an event to happen).


Code:
void main()
{
    cout << "I am MrCode,";
    cout << "hear me roar!";
    system("PAUSE");
}
Re: non-box trigger shape [Re: BES] #224186
08/29/08 01:37
08/29/08 01:37
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England

Re: non-box trigger shape [Re: MrGuest] #224206
08/29/08 05:25
08/29/08 05:25
Joined: May 2008
Posts: 123
B
BES Offline OP
Member
BES  Offline OP
Member
B

Joined: May 2008
Posts: 123
Wow, thank you both very much. This really helps =)


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

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