OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Goering88mm on 15 Jan 2003, 04:23:17
-
Ok, im making a clan meeting map. Were doin our meetings ingame now for a little change and i had the idea of sitting down on chairs and stuff. I found the action to sit down on the chair, but I want to add an action to do so. I want you to be able to walk up to a chair, sit down on it and have an option to get back up. PLz guys, i need this
-
Have you tried Looking through the Tutorials for the add Acction Tutorial that will help you alot.
-
I already tried that. But it doesnt really have what i want. I need a script to make animations using the action menu IN MULTIPLAYER! I made it work in SP but I need one that works in multiplayer. The other guys im playin with say their sitting down, but i nor can anyone else see him sitting down.
-
cmon, somebody HAS to know why my actions arnt working over the internet!! ill show you how i did it.
I named all the guys, put triggers in front of chairs and on the Activation field, i put
m1 switchmove "FXStandtoTable"; m1 addaction ["Get up","Up.sqs"]
in Up.sqs, i put
player = _this select 0
player switchmove "FXStandfromtable"
player removeaction 0
~3
player switchmove "stand"
Exit
so please, I NEED HELP, i need it by saturday
-
maybe the server has to be invovled with this somehow to relay info i dunno hmmm
do u have the thing for sitting down too this looks interesting
-
Oh yeah, ive got the thing for sitting down, it goes like this.
I have it so on the action menu you have an option to sit down (player switchmove "FXStandtoTable") and to Sit down (player switchmove "FXStandfromtable"). I have it all set up like this, but there are 2 problems ive got. 1 is that you have like 3 of the same command from other people, but they all do the same thing. 2nd is that in Multiplayer when you choose to sit down, you see yourself doing it but nobody else sees you sitting down, they see you standing up. If anyone has ANY AT ALL ideas, please present them. I know someone has the answer becuase I play alot of mutiplayer maps that have actions for different people, like the HALO map.