Duke4.net Forums: Using Different Palettes with the RESPAWN Actor - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Using Different Palettes with the RESPAWN Actor  "How to spawn-up sprites with different palettes using RESPAWN"

User is offline   HELLMOUSE 

#1

How do you control an actor's / sprite's palette when it is respawned by the RESPAWN actor? I want more than just "Blue" access cards spawned in my maps. Same thing goes for enemies. It seems that other palettes, besides number 3, only work for the bosses such as mini BOSS1, BOSS2, and BOSS3.

I would like to know if there is a way to program actors to be the same palette as the RESPAWN actor.
0

User is offline   Danukem 

  • Duke Plus Developer

#2

appendevent EVENT_EGS

ifspawnedby RESPAWN seta[].pal sprite[sprite[].owner].pal

endevent

My mods are a pretty good reference for this and other similar stuff you ask about (although they use gamevars since some of the shortcuts weren't available in CON at the time they were coded)
3

User is offline   HELLMOUSE 

#3

View PostDanukem, on 05 September 2020 - 05:02 PM, said:

[sprite[].owner]


That's what I was missing. Thanks :)

This post has been edited by HELLMOUSE: 05 September 2020 - 05:19 PM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options