Site Announcements

  • Account registration restricted. Email lord.ixzion AT gmail.com and I will get you set up. Thanks.
  • RPGMM Discord Channel - https://discord.gg/YJnAfVr

  • New to the site? Let us know!! - Check here.
  • RPGM Magazine Mission Statement. - Check here.
  • We now have a forum up specifically for the races, check it out. - Check here.


[Continue]

It is currently January 3rd, 2025, 2:51 am
View unanswered posts | View active topics


All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: September 30th, 2014, 12:03 pm 
Rank 2: Eager White Mage Rank 2: Eager White Mage
Offline
User avatar

  Level 10
 

Joined: March 15th, 2006, 6:22 am

Posts: 308

Location: Florida
Taken from the Pavilion:

There was a post at Doan's old board that showed a somewhat hack, but it wasn't clean in that it required a button press to update. This one constantly checks.

This requires Nash's movement script, and another infinite loop script. Here they are:

[Nash's vehicle script]
Script Branch: Repeat: Flag [off(fixed)] Off
--Other: Vehicle: Deploy Model(invisible object) type=land, speed=normal
--Other: Vehicle: Control Vehicle
Script: Branch End


**make/name 2 variables as Temp X and Temp Y. I used Sample 100 and 101. Next name one flag as 'Moving?'**

[Run/Walk Check]
Script Branch: Repeat: Flag [Off(fixed)] Off
--Data:Game Info: Load
--Data: Variable: Temp X = Party X
--Data: Variable: Temp Y = Party Y
--Other: Wait: 8f
--Data: Game Info: Load
--Script Branch: Condition: Variable [Party X] = [Temp X] + [0]
----Script Branch: Condition: Variable [Party Y] = [Temp Y] + [0]
------Script Branch: Condition: Flag: Moving? = On
--------Flag: [Moving?] = off
--------Member: Effect: [Virk] Motion Change Wait Speed = 100
------end
----end
--end
--Script Branch: Condition: [Party Y] =/= [Temp Y]
----Script Branch: Condition: [Moving?] = Off
------Flag: [Moving?] = On
------Member: Effect: [Virk] Motion Change Walk Speed = 100
----end
--end
--Script Branch: Condition: [Party X] =/= [Temp X]
----Script Branch: Condition: [Moving?] = Off
------Flag: [Moving?] = On
------Member: Effect: [Virk] Motion Change Walk Speed = 100
----end
--end
End Repeat


***
Next, we need to make an enter map script that applys the above 2 together:


[Enter Map]
Script Control: Apply Together
Script: Call[Vehicle Script]
Script: Call[Run/Walk Check]
Script Control: Apply In Order



finally, make an event named Enter Map, and register that into your world under World Org -> Enter Map Script.

This basically forces the player into a vehicle at all times. This is required because you NORMALLY can't modify the party and have things happen around you. It usually can only be done by triggering events by talking/examining/walking on top of them. This dodges it.


Top
Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group