Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,103 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Refrencing skills #72456
04/29/06 00:52
04/29/06 00:52
Joined: Apr 2004
Posts: 516
USA
Trooper119 Offline OP
User
Trooper119  Offline OP
User

Joined: Apr 2004
Posts: 516
USA
Moved to scripting forumn DELETED

Last edited by Trooper119; 04/29/06 17:42.

A clever person solves a problem.
A wise person avoids it.
--Einstein

Currently Codeing: Free Lite-C
Re: Refrencing skills [Re: Trooper119] #72457
04/29/06 04:45
04/29/06 04:45
Joined: Apr 2004
Posts: 516
USA
Trooper119 Offline OP
User
Trooper119  Offline OP
User

Joined: Apr 2004
Posts: 516
USA
Moved to scripting forumn DELETED

I made a related post "Global Variables" here, how am I supposed to bring one skill to the other, and then use the same relative idea to give it back to redefine variables? I want to make this a plugin though so I don't want to half to transport the whole code into one big .wdl

Moved to scripting forumn DELETED

Last edited by Trooper119; 04/29/06 17:42.

A clever person solves a problem.
A wise person avoids it.
--Einstein

Currently Codeing: Free Lite-C
Re: Refrencing skills [Re: Trooper119] #72458
04/29/06 05:36
04/29/06 05:36
Joined: Feb 2003
Posts: 320
Vieselbach (bei Erfurt)
keinPlan86m Offline
Senior Member
keinPlan86m  Offline
Senior Member

Joined: Feb 2003
Posts: 320
Vieselbach (bei Erfurt)
Trooper, why do you use a new skill for the handle? Every Entity and all have a engine intern handle, which you can read out and safe.
Look in the Manual after handle and ptr_for_handle.

test your code with the following line:

you = scan_entity (newcoordinates, newwidth);

Without the you = i always got the same error, so maybe this could help.

And after that writh something like:

if(you)
{handleingid = you._handle_id; }

To be sure that the you pointer is set.
I hope i could help you.


"Wenn Wahlen etwas ändern würden, dann währen sie schon längst verboten!" Mein Projekt: Space - The Last Frontier http://www.space-the-last-frontier.de.vu
Re: Refrencing skills [Re: keinPlan86m] #72459
04/29/06 13:34
04/29/06 13:34
Joined: Apr 2004
Posts: 516
USA
Trooper119 Offline OP
User
Trooper119  Offline OP
User

Joined: Apr 2004
Posts: 516
USA
The new skill is not THE handle, it is simply the handle's number so it can be refrenced later in another .wdl, i'll try your code and let you know what happens


A clever person solves a problem.
A wise person avoids it.
--Einstein

Currently Codeing: Free Lite-C
Re: Refrencing skills [Re: Trooper119] #72460
04/29/06 13:44
04/29/06 13:44
Joined: Apr 2004
Posts: 516
USA
Trooper119 Offline OP
User
Trooper119  Offline OP
User

Joined: Apr 2004
Posts: 516
USA
Moved to scripting forumn DELETED

Last edited by Trooper119; 04/29/06 17:41.

A clever person solves a problem.
A wise person avoids it.
--Einstein

Currently Codeing: Free Lite-C
Re: Refrencing skills [Re: Trooper119] #72461
04/29/06 13:59
04/29/06 13:59
Joined: Apr 2004
Posts: 516
USA
Trooper119 Offline OP
User
Trooper119  Offline OP
User

Joined: Apr 2004
Posts: 516
USA
Moved to scripting forumn

Last edited by Trooper119; 04/29/06 17:41.

A clever person solves a problem.
A wise person avoids it.
--Einstein

Currently Codeing: Free Lite-C
Re: Refrencing skills [Re: Trooper119] #72462
04/29/06 16:14
04/29/06 16:14
Joined: Feb 2003
Posts: 320
Vieselbach (bei Erfurt)
keinPlan86m Offline
Senior Member
keinPlan86m  Offline
Senior Member

Joined: Feb 2003
Posts: 320
Vieselbach (bei Erfurt)
have you tested:


you = scan_entity (newcoordinates, newwidth);

The "you =" is important.


"Wenn Wahlen etwas ändern würden, dann währen sie schon längst verboten!" Mein Projekt: Space - The Last Frontier http://www.space-the-last-frontier.de.vu
Re: Refrencing skills [Re: keinPlan86m] #72463
04/29/06 16:30
04/29/06 16:30
Joined: Apr 2004
Posts: 516
USA
Trooper119 Offline OP
User
Trooper119  Offline OP
User

Joined: Apr 2004
Posts: 516
USA
Deleted

Last edited by Trooper119; 04/29/06 17:40.
Re: Refrencing skills [Re: Trooper119] #72464
04/29/06 16:59
04/29/06 16:59
Joined: Apr 2004
Posts: 516
USA
Trooper119 Offline OP
User
Trooper119  Offline OP
User

Joined: Apr 2004
Posts: 516
USA
Deleted

Last edited by Trooper119; 04/29/06 17:37.

A clever person solves a problem.
A wise person avoids it.
--Einstein

Currently Codeing: Free Lite-C
Re: Refrencing skills [Re: Trooper119] #72465
04/29/06 17:36
04/29/06 17:36
Joined: Apr 2004
Posts: 516
USA
Trooper119 Offline OP
User
Trooper119  Offline OP
User

Joined: Apr 2004
Posts: 516
USA
This is really a scripting problem I'll move this to that forumn


A clever person solves a problem.
A wise person avoids it.
--Einstein

Currently Codeing: Free Lite-C

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