Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
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
0 registered members (), 631 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
I´ve got a Problem #219137
08/01/08 07:49
08/01/08 07:49
Joined: Jul 2008
Posts: 2
Austria
rom1993 Offline OP
Guest
rom1993  Offline OP
Guest

Joined: Jul 2008
Posts: 2
Austria
I think I´m on the right place here, when I´ve problems with C-Script.
Well, the problem is I want to create an enemy which takes the weapons that lie in the level and drops them when he dies. When he sees the player he should attack in time. How can i reach that effects???

Thank you!

Re: I´ve got a Problem [Re: rom1993] #219155
08/01/08 09:19
08/01/08 09:19
Joined: Jul 2004
Posts: 1,710
MMike Offline
Serious User
MMike  Offline
Serious User

Joined: Jul 2004
Posts: 1,710
thats very complex things anyway.

you need to search for these individualy and then put everything together.

Re: I´ve got a Problem [Re: MMike] #219157
08/01/08 09:23
08/01/08 09:23
Joined: Jul 2004
Posts: 1,710
MMike Offline
Serious User
MMike  Offline
Serious User

Joined: Jul 2004
Posts: 1,710
so there will be the function enemy...

when the health is =0, the function call another one, that will create an entity (weapon or health)

then that weapon has an function it self so when player touches it, it will be removed, and add the weapon to the player.

that more less how things are done generaly speaking. But i guess you can find some tutorials about that here.

Re: I´ve got a Problem [Re: MMike] #219355
08/02/08 11:08
08/02/08 11:08
Joined: Apr 2006
Posts: 159
Latvija
Arrovs Offline
Member
Arrovs  Offline
Member

Joined: Apr 2006
Posts: 159
Latvija
C_scan or trigger_range(search in sed help) is great for scanning objects. So if weapon is skill like weapon and if enemy isnt active weapon he take some skills from target weapon and move to hes hands(this thing i need explore). So if he have already weapon you should use random for favourite weapon and advance class to let him know or is point to take it - in final that is quit easy.
To let him take weapon and attack in each time use multifunctions.


Arrovs once will publish game

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