Auto enter/exit without command
#1

Can anyone edit ravens mod to make house and bizzes enterable automatically just passing trough pickups?
Reply
#2

No, raven's has /enter and /exit cmds
Reply
#3

i think pickups will be the answer
and you can also do that if the player presses the enter key he will enter.. it will be done by "IsPlayerInRangeOfPoint" (something like that) and "KEY_blah blah"...
Reply
#4

You can use it like these:

PHP код:
 #define pickup;
on OnGameModeInit:
pickup CreatePickup(etc,etc,etc);
on OnPlayerPickUpPickup
if(pickup);
      
SetPlayerPos(pos);
      
SetPlayerInterior(interior)
      {
and 
so on
Regard's Chris
Reply
#5

Quote:
Originally Posted by svaba
Посмотреть сообщение
No, raven's has /enter and /exit cmds
Yes, I say this if can be edited the gm to do this.
Reply
#6

You need to edit it by yourself, no one is gonna do it
Reply
#7

You are not doing it, maybe some kind user can help me.
Reply
#8

Read my post. It should help alot.
Reply
#9

Just make a new pickup, and on OnPlayerPickUpPickUp make it that when he enters the pickup it sets his player position and interior if needed.
Reply
#10

I'm not good in coding.
By the way the piece of code is this:

http://pastebin.com/ZDT8GFzF
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)