OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: dwolf on 05 Sep 2002, 16:43:41
-
Playing around I have made a script that lets a player move through an island at a very accelerated speed.It is activated by entering an object,been entering a machine gun,then ],commmand flash is what it is called.One can shoot while moving,or be killed.It moves through all objects and over water.Ok probably useless but amusing was just basically using it to learn some scripting.What I was wondering is this thing only works by entering the machine gun in the direction you wish to travel.Stops when you exit machine gun.Is it possible to alter this so as too be able to use maybe arrow keys to control the direction one travels?
-
It would be easier for us all if you post a better description of your script, along with the script itself. We can't help you unless we know what you're doing ;D
Cheers, KTottE
-
But we can tell you right now, that you can't assign a script/command/trigger anything! To a key, be it cursor, or number.
You can use the action menu to call the script but thats it. (And radio)
8) PEACE
-
[attachment deleted by admin]
-
Pardon for asking the same question again,but part of this script lets you push a machine gun around any direction of choice using the mouse but not in flash mode.If one of you wizards would be nice enough to elaborate on the possibilities would appreciate it.
-
Could you not use the code flash setdir (getdir player)?
Is that what your asking? :-\
8)PEACE