25.11.2016, 20:15
So I've been a bit fucked around with this, trying to basically check if the player is near specified biome and such (for example if they are standing on grass, sand and so on)
Now I've came across 2 solutions, one is manual and one automatic (but not sure how to achieve the automatic method)
Solution 1:
-Create few areas that are marked as biomes and set the biome value to specified one (Grassy, Sandy etc)
Solution 2:
-Get the object ID player is standing on and then check if the object itself is grass, sand etc (by using object id). Problem is getting that object ID since we cant just access the GTA SA in built stuff.
So anyone got any suggestion?
Now I've came across 2 solutions, one is manual and one automatic (but not sure how to achieve the automatic method)
Solution 1:
-Create few areas that are marked as biomes and set the biome value to specified one (Grassy, Sandy etc)
Solution 2:
-Get the object ID player is standing on and then check if the object itself is grass, sand etc (by using object id). Problem is getting that object ID since we cant just access the GTA SA in built stuff.
So anyone got any suggestion?