Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
ZorroGPT
by TipmyPip. 02/25/26 12:15
WFO Training with parallel cores Zorro64
by Martin_HH. 02/24/26 19:51
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (TipmyPip, Grant, AndrewAMD), 5,361 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Need help with multiple players and cscan #244599
01/05/09 16:34
01/05/09 16:34
Joined: Jan 2009
Posts: 17
48th_Ronin Offline OP
Newbie
48th_Ronin  Offline OP
Newbie

Joined: Jan 2009
Posts: 17
I have this probem, I have two player charictors that I can click and move, I made a cscan funtion that will make another model that is invisible visible once within range. it works on one charictor but not the other. I have both charictors set to player = my, but with a different action for both that makes the model visible. I think the probem is eigher I need to make the chacrictors only equal to my once selected, or instead of using my use the entity name. I made a funtion that makes a player my once selected but when the game runs it seems to look for a player before u select one and I get an error in the cscan saying their is an empty pointer.

I guess in short just wanting to know the best way to make mutiple entities players so that their isn't any conflicts with cscan and anything else. thanks

Re: Need help with multiple players and cscan [Re: 48th_Ronin] #244663
01/06/09 04:00
01/06/09 04:00
Joined: Jan 2009
Posts: 17
48th_Ronin Offline OP
Newbie
48th_Ronin  Offline OP
Newbie

Joined: Jan 2009
Posts: 17
Figured out how to make it so you can select multiple entity, you have to make each one a separate entity with entity*. then make each one entityname = my . still having trouble using ctrace with multiple entitys if i have two players searching for one enemy both using ctrace only one finds the enemy. still working on solving that


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