Jump to content

i need script


GMMarlboro

Recommended Posts

Posted

create an object with

createObject () 

create a collision shape or marker and 'onClientMarkerHit' make it move to a position by using

moveObject () 

and with 'onClientMarkerLeave' make it move to the starting position by using the same function.

(You can also make it server side)

Posted
... and with 'onClientMarkerLeave' make it move ...

I say it's better to use "onMarkerLeave" instead, Cause on Client side the movement will appear only to the client player, But on Server side it'll appear to everyone

Posted
... and with 'onClientMarkerLeave' make it move ...

I say it's better to use "onMarkerLeave" instead, Cause on Client side the movement will appear only to the client player, But on Server side it'll appear to everyone

onClientMarkerLeave gets trigger for everyone when any player leave the marker, so it will appear to everyone.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...