Scripts / Displaying 3 images in a trigger zone (help?)

Author
Message
Bugsy
15
Years of Service
User Offline
Joined: 24th Nov 2008
Location: Savannah
Posted: 27th Jul 2018 03:30
I was looking for a way to display 3 images in a trigger zone in rapid succession in gameguru, so I scoured the forums and came upon this old thread where ertlov did it with one image, and smallg troubleshooted it for him. I'm wondering if someone would be willing to do the same for me. Be gentle, it's my first time



i test this in a trigger zone but nothing happens. I get no crashes or errors when loading or walking in the cutscene, nothing happens. can anyone spot what I'm doing wrong? this is just about the only thing stopping direct action 2 from release!

here is my folder setup:


I have a lua file for it in scriptbank plus a folder for the images of the same name
shock000, 001, 002 etc.

assistance would be greatly appreciated!!
Pirate Myke
Forum Support
13
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 27th Jul 2018 08:40
This works for me by only loading the first loadImages statement


The images are store in scriptbank/images/shock folder
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.

Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 27th Jul 2018 08:50
The images need to be named 001 002 etc. Not shock001 etc. Abd they need to be in scriptbank/images/shock
[img]belidos3d.swgrp.co.uk/wp-content/uploads/2016/03/blogo.png[/img]
Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
Bolt Action Gaming
GameGuru Tool Maker
10
Years of Service
User Offline
Joined: 24th Oct 2013
Location: Harrisburg, PA (USA)
Posted: 4th Sep 2018 17:58
One concern I'd have is that AI would continue operating while these images were flashing, but if they're quick enough (they are, from what I see) it shouldn't be a major problem.
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 22nd Oct 2018 18:28 Edited at: 22nd Oct 2018 18:31
Only just spotted this one. I've spent some time checking and rewriting your script. It works fine now you will just have to point the load image parts to your actual images. I'm not sure if not being able to delete the image is an issue but didn't spot one in the global list. I would be happier if I could delete the images as well at the end to keep it tidy and not allow bloat. I'm rusty with GG scripting at the moment though, so I probably missed the command.
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-03-28 12:36:01
Your offset time is: 2024-03-28 12:36:01