Gamestudio Links
Zorro Links
Newest Posts
SGT_FW
by Aku_Aku. 11/30/26 08:19
Removing outliers from files
by JeyKey II. 11/29/26 10:01
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 12,268 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
String1 and String2 to call an entity. #249356
02/02/09 01:56
02/02/09 01:56
Joined: Sep 2008
Posts: 69
U
upsidedownman Offline OP
Junior Member
upsidedownman  Offline OP
Junior Member
U

Joined: Sep 2008
Posts: 69
I was wondering if there was anyway in the future that there could be a command like string_ent(string1,"Bob") then for the next line or so the entity with his string1 that is Bob is set to you. This would help get rid of senseless actions when i just wan't to call it for a comparison or something without cluttering up my code? Just a thought, maybe its already possible if so kindly point it out to me because i searched through the entire manual and found nothing.

Thanks!

Re: String1 and String2 to call an entity. [Re: upsidedownman] #249377
02/02/09 07:34
02/02/09 07:34
Joined: Jul 2000
Posts: 28,149
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,149
Frankfurt
Use an ent_next() loop with comparing the string.

Re: String1 and String2 to call an entity. [Re: jcl] #249485
02/02/09 19:48
02/02/09 19:48
Joined: Sep 2008
Posts: 69
U
upsidedownman Offline OP
Junior Member
upsidedownman  Offline OP
Junior Member
U

Joined: Sep 2008
Posts: 69
I looked at that but it says the Entities parameters can't be changed if it doesn't have an action or created during runtime. O well i guess i have to stop being lazy. Thanks.


Moderated by  aztec, Spirit 

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