Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 13,972 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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