-
Content Count
36 -
Joined
-
Last visited
-
Medals
Everything posted by braincrush
-
addscore working in host not working on dedicated
braincrush replied to braincrush's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
sorry i thought that might be a problem it was supposed to look like this : _player = player; switch (_playeruid) do { case "[b]plaierUID[/b]": { givemoney = hint "Hello [b]playername [/b]here's your money !"; _player addscore 400; }; thanks for rewriting the code for me , only one thing , could you tell me how to call it from the action menu ? my one was assign to satellite phone and you could choose option "transfer money" than the script was adding points if the player id was correct. -
Ace wounding system & setdamage
braincrush replied to braincrush's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
thanks Robalo_AS u saved my day ! -
Ace wounding system & setdamage
braincrush replied to braincrush's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
ok sorry about that, i just cant find the ACE related part of forum, im searching ace wiki but cant find anything i could use. anyway if its possible i would like to ask moderators to delete this thread. -
Ace wounding system & setdamage
braincrush replied to braincrush's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
still , its not exactly off topic is it ?, but if it make you happy than ill do it. -
spawning granade/missile (not explosion)
braincrush posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
ok heres the question : is it possible to spawn granade (with actual visible model) right after pin was removed (few seconds to explosion)? and missile eg. sidewinder in flight , like second after launch ? -
spawning granade/missile (not explosion)
braincrush replied to braincrush's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thank you sir , I'll test it tonight ! checked it and all working fine , now the tweaks , thank you. -
spawning granade/missile (not explosion)
braincrush replied to braincrush's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Well , imagine I want to add action for player riding a car as a passenger ,when he activate the option the granade will spawn outside of the car (simulating a granade thrown out of the vehicle) , now that u mentioned the model of granade I'm thinking of delayed explosion on the position of granade model (at least i think that should work ), the missile in flight was for future reference -
get user classname / name in script ?
braincrush replied to braincrush's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
it will indeed , thanks a lot ! -
get user classname / name in script ?
braincrush posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
how can i check name or classname of the player activating the script ? i want to use it in if else which will be inside of the script that will be launch by action assigned to an object ? -
Attaching trigger to moving object
braincrush replied to braincrush's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
oh i just thought that only way to do it is via marker position and since the marker is moving nicely with the object .... :) but obviously i was looking for the syntax you've posted , thanks ! actually the setmarkerpos will come really handy aswell now :) -
Attaching trigger to moving object
braincrush replied to braincrush's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
my god , that was quickest answer to any question i've ever asked :) thanks a bunch ! just one more quick question : now that i have my marker moving with the unit , should i use createTrigger and getpos from marker1 or should i pre-place a trigger and use setpos ? im not sure which one if any of them will work ?