Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/06/23 11:29
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
7 registered members (fairtrader, Quad, miwok, Martin_HH, AndrewAMD, alibaba, dpn), 581 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
I'm using PASSABLE, but cant go throu.. #264364
05/05/09 21:29
05/05/09 21:29
Joined: Mar 2009
Posts: 14
Z
zyndro Offline OP
Newbie
zyndro  Offline OP
Newbie
Z

Joined: Mar 2009
Posts: 14
Hello there guys!!


I'm having issues when trying to apply the PASSABLE flag on a entity, i have no errors and the application works fine, but it seems to be not getting the "ghost" feature, because i can't go through the entity.

here's a piece of code where i'm using the PASSABLE flag.

=========================================
.
.
action drop_shell
{
wait(1);
my.passable = on;
my.visible = on;
.
.
=========================================

What do you guys think? anyone have an idea what's probably going wrong with it?

Any help will be really appreciate it!!
Thanks in advance!!


Best regards.
-Brian.

Re: I'm using PASSABLE, but cant go throu.. [Re: zyndro] #264368
05/05/09 22:02
05/05/09 22:02
Joined: May 2008
Posts: 331
Lithuania, Vilnius
Jaxas Offline
Senior Member
Jaxas  Offline
Senior Member

Joined: May 2008
Posts: 331
Lithuania, Vilnius
instead of this
Code:
my.passable = on;
my.visible = on;

try this
Code:
set(my,PASSABLE | VISIBLE);



The smaller the bug, the harder it is to kill.
_________________________________________
Forklift DEMO (3dgs)
Re: I'm using PASSABLE, but cant go throu.. [Re: Jaxas] #264380
05/06/09 03:03
05/06/09 03:03
Joined: Apr 2009
Posts: 298
Southern Oceans
KiwiBoy Offline
Member
KiwiBoy  Offline
Member

Joined: Apr 2009
Posts: 298
Southern Oceans
Check your move code to see if 'IGNORE_PASSABLE; has been set as well.


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

My WebPage
Re: I'm using PASSABLE, but cant go throu.. [Re: Jaxas] #264491
05/06/09 13:31
05/06/09 13:31
Joined: Mar 2009
Posts: 14
Z
zyndro Offline OP
Newbie
zyndro  Offline OP
Newbie
Z

Joined: Mar 2009
Posts: 14
Hello again!


Thanks so much for the advice guys, i'm not using the function IGNORE_PASSABLE, however i'm getting an error when i try the function:

set(my,PASSABLE | VISIBLE);
or
set(my,PASSABLE);

not pretty sure why..

any light?


Thanks so much!
-Brian.

Re: I'm using PASSABLE, but cant go throu.. [Re: zyndro] #264493
05/06/09 13:35
05/06/09 13:35
Joined: May 2008
Posts: 331
Lithuania, Vilnius
Jaxas Offline
Senior Member
Jaxas  Offline
Senior Member

Joined: May 2008
Posts: 331
Lithuania, Vilnius
what error? smile


The smaller the bug, the harder it is to kill.
_________________________________________
Forklift DEMO (3dgs)
Re: I'm using PASSABLE, but cant go throu.. [Re: Jaxas] #264507
05/06/09 14:57
05/06/09 14:57
Joined: Mar 2009
Posts: 14
Z
zyndro Offline OP
Newbie
zyndro  Offline OP
Newbie
Z

Joined: Mar 2009
Posts: 14
!!
sorry my bad blush



set(my,PASSABLE | visible);
Bad or missing parameter, unknown function.


thanks!

Re: I'm using PASSABLE, but cant go throu.. [Re: zyndro] #264509
05/06/09 15:04
05/06/09 15:04
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Quote:
set(my,PASSABLE | visible);
Bad or missing parameter, unknown function.

Lite-C is Case-Sensetive.

Re: I'm using PASSABLE, but cant go throu.. [Re: Cowabanga] #264513
05/06/09 15:19
05/06/09 15:19
Joined: Mar 2009
Posts: 14
Z
zyndro Offline OP
Newbie
zyndro  Offline OP
Newbie
Z

Joined: Mar 2009
Posts: 14
tried that and same error, and searched on the help and the example there was using caps..

i dont know if i have to include something, cause im not including anything, im using GameStudio 7.

=(


Regards,
-Brian.

Re: I'm using PASSABLE, but cant go throu.. [Re: zyndro] #264514
05/06/09 15:29
05/06/09 15:29
Joined: Nov 2008
Posts: 946
T
the_clown Offline
User
the_clown  Offline
User
T

Joined: Nov 2008
Posts: 946
The flag VISIBLE does not exist; the flag INVISIBLE exists.
VISIBLE was used for panels, but has been replaced by SHOW.
Anyway, if you want to make the object visible, you don't have to set a flag, all objects are visible by default. You just have to set the INVISIBLE flag if you want to make the object invisible. wink

Re: I'm using PASSABLE, but cant go throu.. [Re: zyndro] #264515
05/06/09 15:30
05/06/09 15:30
Joined: Mar 2004
Posts: 206
The Netherlands
R
Roy Offline
Member
Roy  Offline
Member
R

Joined: Mar 2004
Posts: 206
The Netherlands
First of all, are you scripting in Lite-C?
At the top of your script should be:
#include <acknex.h>
#include <default.c>

In your action, there should be:
set(my, PASSABLE);

Roy

Page 1 of 3 1 2 3

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