[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]

/vr/ - Retro Games

Search:


View post   

>> No.3351956 [View]
File: 58 KB, 600x600, pain_elemental_v2_0_by_highdarktemplar.jpg [View same] [iqdb] [saucenao] [google]
3351956

I had a crazy idea about about an ACS trick: What if one spawned a shitload of dummy actors in a loop where each new actor is the Target of the previously spawned actor (initial actor has a set TID), and then used for() loops going setactivator(0,AAPTR_TARGET) to select an index in this "actor array"? Any actor with a TID could be stored in the Tracer pointer of either of these dummy actors, and the "index" of the actor holding (number of setactivator calls in the loop) it could be stored in a regular variable and act as a poor mans TID, allowing one to dynamically give a new unique reference number to a thing without actually changing it's TID.

If both the master and tracer slot of these dummy actors where used (odd numbers in one, evens in the other?) the amount of dummy actors needed would be cut in half.

Navigation
View posts[+24][+48][+96]