Placing items using maniascript

Talk about the track editor here

Moderator: English Moderator

Post Reply
kevinijk
Posts: 4
Joined: 20 Oct 2017, 15:40

Placing items using maniascript

Post by kevinijk »

The maniascript seems to have PlaceBlock, PlaceRoadBlocks, etc and RemoveAllObjects (which does in-fact remove items) but no PlaceObject. Is there any way to place an item using a maniascript plugin in the editor?
User avatar
Florenzius
Translator
Translator
Posts: 2545
Joined: 27 Jul 2014, 20:31
Location: Germany
Contact:

Re: Placing items using maniascript

Post by Florenzius »

Indeed you don't have a function for the object placement yet, it will hopefully come soon
Last edited by Miss on 30 Nov 2017, 09:13, edited 1 time in total.
Reason: Removed mention of spam post
Creative Director at UNBITN - 3D Modeler for Pursuit - ManiaPlanet Translator and Beta tester - Freelancer for Ubisoft Nadeo
___
MB - B550 AORUS ELITE
RAM - 32GB
CPU - AMD Ryzen 5 3600XT
GPU - Nvidia GeForce RTX 3070Ti
User avatar
Dommy
Translator
Translator
Posts: 1901
Joined: 25 Aug 2011, 21:45
Location: Poland
Contact:

Re: Placing items using maniascript

Post by Dommy »

Only possible way of placing objects through MS in editor is using macroblocks - place a macroblock, which contains item, using PlaceMacroblock().
Ryzen 7 2700X, GTX 1070 Ti, 16 GB RAM, Windows 10 Insider Build
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT

Contact me via GALAXY & PURSUIT DISCORD
User avatar
dePaljas
Posts: 60
Joined: 05 Aug 2011, 17:41

Re: Placing items using maniascript

Post by dePaljas »

Great idea, did not think of that :thumbsup:, but developers.. please do not make me create wrappers around all my items and introduce PlaceObject.
[Mobo: FOXCONN A7DA-S/A7DA] [CPU: AMD Phenom II X4 940 BE] [Memory: 4GB] [Video: MSI 660 Ti]
Post Reply

Return to “Track Editor”

Who is online

Users browsing this forum: No registered users and 1 guest