Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (henrybane), 1,246 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
HELP WITH CREATING ENTITIES #251974
02/15/09 20:20
02/15/09 20:20
Joined: Dec 2008
Posts: 13
N
noosence Offline OP
Newbie
noosence  Offline OP
Newbie
N

Joined: Dec 2008
Posts: 13
i am trying to make something that will generate enemy entities,
but entities will only show up in the game if i create them within the main function which is obviously not were i need to be creating them

Re: HELP WITH CREATING ENTITIES [Re: noosence] #251975
02/15/09 20:22
02/15/09 20:22
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...
Use ent_create.

Re: HELP WITH CREATING ENTITIES [Re: noosence] #251976
02/15/09 20:23
02/15/09 20:23
Joined: Feb 2009
Posts: 84
Deutschland/Niedersachsen
GorNaKosh Offline
Junior Member
GorNaKosh  Offline
Junior Member

Joined: Feb 2009
Posts: 84
Deutschland/Niedersachsen
A snippet of the important code should be very helpful to solve your problem. Take a look into the manual: ent_create()

Re: HELP WITH CREATING ENTITIES [Re: GorNaKosh] #251980
02/15/09 20:47
02/15/09 20:47
Joined: Aug 2008
Posts: 218
U.S.
GamerX Offline
Member
GamerX  Offline
Member

Joined: Aug 2008
Posts: 218
U.S.
Why not start out with Lite-c Workshops and maybe you won't need to post about such simple things.


"You may never know what results come of your action, but if you do nothing there will be no result."
-Mahatma Gandhi
Re: Help with creating entities [Re: GamerX] #251982
02/15/09 20:55
02/15/09 20:55
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Would you mind turning off caps-lock when writing thread titles?

Re: Help with creating entities [Re: Xarthor] #252019
02/15/09 23:51
02/15/09 23:51
Joined: Dec 2008
Posts: 13
N
noosence Offline OP
Newbie
noosence  Offline OP
Newbie
N

Joined: Dec 2008
Posts: 13
wow thanks for all the help guys

i think i should have thought about using the tutorials before

what a simple answer....

but really i need help

and would appreciate not being made fun of, it might be a simple question

but that would mean it could be a simple answer.

GorNaKosh- i have the code seperated into three programs
the main program for setting up the level, then a player program for controlling movement and such then i have a third program for creating the enemies,
but when i do an ent_create in any program but the main function of the main program, they dont appear.

Xarthor- sorry man, just trying to get it noticed will note not to do that in the future.

and i would think about using these forums for helping newbs such as myself rather than cutting them down =]

Re: Help with creating entities [Re: noosence] #252022
02/16/09 00:02
02/16/09 00:02
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi!

When you use ent_create in a function, do you call this
function anywhere in your code?

If you not calling it, it can't work.
If your calling it, then follow the tread

Hope this helps. Let us know smile

Ottawa

Re: Help with creating entities [Re: Ottawa] #252195
02/17/09 00:14
02/17/09 00:14
Joined: Dec 2008
Posts: 13
N
noosence Offline OP
Newbie
noosence  Offline OP
Newbie
N

Joined: Dec 2008
Posts: 13
yeah that was the problem i completely overlooked that i wasn't calling it

thanks ottawa the help is much appreciated

Re: Help with creating entities [Re: noosence] #252379
02/17/09 23:46
02/17/09 23:46
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi!

Glad to be of help. smile

Thanks for letting me know that my info was good.

Ottawa smile smile


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

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