Gamestudio Links
Zorro Links
Newest Posts
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
No connection to MT4
by JeyKey II. 10/29/26 09:34
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (AndrewAMD), 18,273 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
dabolong, MaliceTheMaker, Haitao_Ren, JimSimons, julienp
19249 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
my.skill1 = empty pointer? #179909
01/25/08 13:36
01/25/08 13:36
Joined: Dec 2003
Posts: 129
Osnabrück, Germany
Ready Offline OP
Member
Ready  Offline OP
Member

Joined: Dec 2003
Posts: 129
Osnabrück, Germany
ok, whats wrong with this?
Code:


action message_display
{
...
stuff here
...
if (my.SKILL1 == 1)
{
...
do stuff
...
}
}


skill1 of that entity is set in WED to 1 but every time I run this, I get an empty pointer error for my.skill1?!


Do not underestimate people because they have a low post count... :0
Re: my.skill1 = empty pointer? [Re: Ready] #179910
01/25/08 13:47
01/25/08 13:47
Joined: Dec 2003
Posts: 129
Osnabrück, Germany
Ready Offline OP
Member
Ready  Offline OP
Member

Joined: Dec 2003
Posts: 129
Osnabrück, Germany
doh!
Stupid me ...
That action is setup so that it removes the entity when the player touches it (more lke, when its in 100 units range) and I had ent_remove (my); in the action BEFORE that if branch.
No wonder its an empty pointer, when that entity is already removed ^^

So yeah .. nevermind.


Do not underestimate people because they have a low post count... :0

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