-
Content Count
56 -
Joined
-
Last visited
-
Medals
Posts posted by sbondo1234
-
-
7 hours ago, MKD3-FHI said:This code is client side so using this (setObjectTextureGlobal) will cause the texture to be set globally, this isn't that useful for init.sqf which executes globally anyway, but doesn't hurt anyone.
As for your problem, my thoughts are that a good way to find your answer is in your question:
Code works, however not in init.sqf.
This means it is probably an initialisation order problem. Meaning this code is running before your units exist.
Try this to test that.
sleep 10; { _x setObjectTextureGlobal [0, "images\red.paa"]; } forEach (allUnits select {side _x == WEST});
Hey, thanks for this! It kind of works.
Is it possible you know how I would make it exec this every x seconds?
I'm also having trouble with people not seeing others have the texture on them but they can see themselves with it.
-
There are so many key binds that ArmA uses. If they were to port it to console it would be very dumbed down and basic which would ruin the fun part about the game which is its complexity.
-
4 hours ago, kennyleif said:Not the trailer yet, but it is under way.
But here is a behind the scenes video where we share some information about the show
Hope you share it with your friends.
Can't wait for ep 1!
-
Just now, GEORGE FLOROS GR said:Hello there sbondo1234 and welcome to BIS Forums !
Try :
if ((side group _x) == west) then { _x setObjectTextureGlobal [0, "images\red.paa"]; }forEach allUnits;
Hey! Thanks for your reply.
I have tried it in-game and it isn't working.
-
I have a mission file I have been working on and I wanted to add custom textures to the clothing that you spawn in with. I have tried many things and I just can't find something that works. I have tried putting code in the init.sqf and I have also tried putting a line of code into each spawnable character in the mission file. Nothing seems to give the characters the texture I have put in an images folder.
I have tried putting this into the init.sqf:
{ if ((side _x) == West) then { _x setObjectTexture [0, "images\red.paa"]; }; } forEach allUnits;
Although when I spawn in it doesn't seem to work. The command works when I exec it in the debug console, so I'm not sure why that happens. The texture is blue when I exec it with the debug console, I'm not sure if that helps since my texture is red but it happens.
- 1
Custom Clothing Textures
in ARMA 3 - MISSION EDITING & SCRIPTING
Posted
Thanks for your guy's responses.
I have a script which makes sure that the player is wearing what they are supposed to, so whenever it runs it changes the texture back to default. Is there any way around this?