Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
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
6 registered members (AndrewAMD, Ayumi, degenerate_762, 7th_zorro, VoroneTZ, HoopyDerFrood), 1,268 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
actions and noobishness:D #69970
04/07/06 11:22
04/07/06 11:22
Joined: Sep 2002
Posts: 758
Sunny Scotland
xoNoid Offline OP
Developer
xoNoid  Offline OP
Developer

Joined: Sep 2002
Posts: 758
Sunny Scotland
Ok big noob question now thats probibly stupid simple. Why is it that actions I've writtern in scripts that I have included in my main script dont appear in the WED actions menu? I've looked in the manual but cant find anything about it (or maybe I'm just stupid ). Any help would be very nice.

Re: actions and noobishness:D [Re: xoNoid] #69971
04/07/06 11:44
04/07/06 11:44
Joined: Jan 2006
Posts: 1,829
Neustadt, Germany
T
TWO Offline

Serious User
TWO  Offline

Serious User
T

Joined: Jan 2006
Posts: 1,829
Neustadt, Germany
You must restart WED or File->Preferences->Advantaged->Reload Files to "Auto"

Re: actions and noobishness:D [Re: TWO] #69972
04/07/06 13:51
04/07/06 13:51
Joined: Sep 2002
Posts: 758
Sunny Scotland
xoNoid Offline OP
Developer
xoNoid  Offline OP
Developer

Joined: Sep 2002
Posts: 758
Sunny Scotland
Thats not quite what I mean. Its that if I do this:

Code:
include<myfile.wdl>;

function main()
{
//blablabla
}



and myfile.wdl contains an action. That action is not displayed in WEDs list.

Re: actions and noobishness:D [Re: TWO] #69973
04/07/06 14:31
04/07/06 14:31
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
I can just repeat what expresso said:

Quote:

You must restart WED or File->Preferences->Advantaged->Reload Files to "Auto"





"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: actions and noobishness:D [Re: Michael_Schwarz] #69974
04/07/06 15:25
04/07/06 15:25
Joined: Sep 2002
Posts: 758
Sunny Scotland
xoNoid Offline OP
Developer
xoNoid  Offline OP
Developer

Joined: Sep 2002
Posts: 758
Sunny Scotland
Yes you do that if you want to update the list of entity actions. However I have to have all my actions in the main script because having the actions in a separate script and including it in my main file stops the action being displayed in the action list.

Re: actions and noobishness:D [Re: xoNoid] #69975
04/07/06 21:29
04/07/06 21:29
Joined: Jan 2006
Posts: 45
Yarcanox Offline
Newbie
Yarcanox  Offline
Newbie

Joined: Jan 2006
Posts: 45
You have to use "actions" and not "functions". I had that same problem before and it worked this way.

Re: actions and noobishness:D [Re: Yarcanox] #69976
04/07/06 21:45
04/07/06 21:45
Joined: Jan 2006
Posts: 1,829
Neustadt, Germany
T
TWO Offline

Serious User
TWO  Offline

Serious User
T

Joined: Jan 2006
Posts: 1,829
Neustadt, Germany
O.o was THAT your mistake?

p.s @Michael_Schwarz not Expresso, Xpresso

Re: actions and noobishness:D [Re: TWO] #69977
04/08/06 10:09
04/08/06 10:09
Joined: Nov 2004
Posts: 888
B
beegee Offline
User
beegee  Offline
User
B

Joined: Nov 2004
Posts: 888
Maybe this:

include= <myfile.wdl>;
And what for version do you use?(maybe a bug in a new beta)

Regards,
beegee

------------------------
GenuineMotors.de


Fratch - Newer statistics panel for GameStudio
Re: actions and noobishness:D [Re: beegee] #69978
04/08/06 10:23
04/08/06 10:23
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
and dont write () after the action name!

Re: actions and noobishness:D [Re: beegee] #69979
04/08/06 12:27
04/08/06 12:27
Joined: Sep 2002
Posts: 758
Sunny Scotland
xoNoid Offline OP
Developer
xoNoid  Offline OP
Developer

Joined: Sep 2002
Posts: 758
Sunny Scotland
Quote:

Maybe this:

include= <myfile.wdl>;
And what for version do you use?(maybe a bug in a new beta)

Regards,
beegee





Sorry tried that doesn't work.

I'm using 6.31.4. This is very bizarre, it works fine in the templates but I cant figure out why...

@Xpresso - I think I'd have to be a bit dumber than I am to make that mistake.

Page 1 of 2 1 2

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