View Single Post
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 04-28-2016 , 13:28   Re: [TF2] Rollermine spawner
Reply With Quote #34

Well with adt_arrays you could use multiple blocks.

So let's say you have

g_flPosArrayForFirstMine[3]

and

g_flPosArrayForSecMine[3]

In an adt_array I'd just have an array of mines like

a_blockMineEntRef = 0
a_blockMinePositionsArray = 1
a_blockMineMaxIndices

g_hMines = CreateArray(a_blockMineMaxIndices);


MinePositionsArray could either be the handle to an adt_array containing the positions or just a normal array, I'd have to look up the syntax for storing a normal array in an adt_array but you can.
__________________
Chdata is offline