Warts 10 Posted April 11, 2011 Iam trying to set velocity with a trigger and having trouble. I know how to set it in the int feild of a object but cant get the trigger code correct. Any help would be appreciated. Thx Share this post Link to post Share on other sites
undercoverbrother 10 Posted April 12, 2011 G'day Warts, Iam trying to set velocity with a trigger and having trouble.I know how to set it in the int feild of a object but cant get the trigger code correct. Any help would be appreciated. Thx I understand your new (I'm still kinda new too) but please remember to search before you post as this is a fairly generic question to ask. You can also check the Bis Wiki for help with scripting. Basically if you want to script a trigger, you need to create one and set the conditions for it. For example, if you put the following code in the init.sqf and placed a marker on the map wherever you wanted called: _speedUpPlane, it would create a trigger at the start of the mission that would fling a plane across the map at 1000 mp/h. _trg = createTrigger["EmptyDetector", getPos _speedUpPlane]; _trg setTriggerArea [100, 100, 0, false]; _trg setTriggerActivation["WEST", "PRESENT", false]; _trg setTriggerStatements["this", "_plane setVelocity 1000", ""]; look up the createTrigger for more information. Good Luck, undercoverbrother Share this post Link to post Share on other sites
Warts 10 Posted April 13, 2011 (edited) Thx for the response and your help. Edited April 13, 2011 by Warts Share this post Link to post Share on other sites
undercoverbrother 10 Posted April 13, 2011 No worries :) Share this post Link to post Share on other sites