Scripts / problematic multiple quest script

Author
Message
nuncio
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 28th Jan 2015
Location: Schleswig Holstein, Germany
Posted: 5th Jun 2016 01:41
hi there! i want to do something i don't even know if it's possible.
i usually use a script i got from the forums here. it is: "pick up X items before you can enter a door."
i got this (when you need, i can post it here) and it works great. i have customized it within my very limited scripting skills but this seems impossible for me:

i tell you what is requested.
this is for "island hopper". mike must search an enemy outpost for information about the goals of the pirates. there must be a few informations that mike must collect. until there it's the script i mentioned above. pick up X items before you are allowed to open door Y.
now i would like every single collectible to activate an individual video.
mike comes closer to the collectable, then you read "Press E to collect information" and then a video is played. an individual video for every single collectable item.

is this possible, can you help me with this?
http://www.nuncio-rap.de
intel core i5-3570K CPU @ 3.40GHz; 8GB RAM // NVIDIA GeForce GTX560Ti
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 5th Jun 2016 02:51
May not be able to do this yet till Lee gives us path capabilities for videos in LUA.

I believe right now they are only able to be played in a story zone.

Have you considered using sprites? These can be defined in script and shown when needed.

Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 5th Jun 2016 09:11 Edited at: 5th Jun 2016 09:14
Mike is right, about video paths and son.
Meantime I've wrote you some workaraound



Attach this script to each collectible.
Notice you'll have to enter collectible number here:
Collected(1)
Destroy(1)

in my map the collectible is number 1.

Edit; I forgotten, you've to place storyzone closest to each collectible, don't forguet enter the video path>via properties panel, for each storyzone you use.


hth

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM

Login to post a reply

Server time is: 2024-12-22 17:33:38
Your offset time is: 2024-12-22 17:33:38